extendDrvArgs
pkgs.appimageTools.wrapAppImage.extendDrvArgs
Docs pulled from | This Revision | 18 days ago
Contribute
Enhance the ecosystem with your expertise! Contribute to fill the gaps in documentation. Your input can make a difference.
Noogle detected
- pkgs.appimageTools.wrapType1.constructDrv.extendDrvArgs
- pkgs.appimageTools.wrapType2.constructDrv.extendDrvArgs
Implementation
The following is the current implementation of this function.
finalAttrs:
prev@{
contents ? prev.src,
extraPkgs ? pkgs: [ ],
meta ? { },
...
}:
defaultFhsEnvArgs
// {
targetPkgs = pkgs: [ appimage-exec ] ++ defaultFhsEnvArgs.targetPkgs pkgs ++ extraPkgs pkgs;
runScript = "appimage-exec.sh -w ${finalAttrs.contents or prev.src} --";
meta = {
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
}
// meta;
}