Merge pull request #128927 from andersk/appimage

appimageTools.wrapAppImage: Fix passing arguments to wrapped executable
This commit is contained in:
Jörg Thalheim 2021-07-21 07:40:30 +01:00 committed by GitHub
commit 436c1a938e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ rec {
targetPkgs = pkgs: [ appimage-exec ]
++ defaultFhsEnvArgs.targetPkgs pkgs ++ extraPkgs pkgs;
runScript = "appimage-exec.sh -w ${src}";
runScript = "appimage-exec.sh -w ${src} --";
} // (removeAttrs args (builtins.attrNames (builtins.functionArgs wrapAppImage))));
wrapType2 = args@{ name, src, extraPkgs ? pkgs: [ ], ... }: wrapAppImage