mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Revert "Merge pull request #230693 from Atemu/fix/fhsenv-escape-runScript-path"
This reverts commit840f2e0ac5
, reversing changes made tod3ed0402e5
. This breaks appimage which puts args into the runScript and we don't provide a good way to pass thru additional args. The actual bug was in nix-alien which should escape paths; providing a valid runScript is the responsibility of the caller.
This commit is contained in:
parent
344ab3d688
commit
d5f0da152a
@ -111,7 +111,7 @@ let
|
||||
init = run: writeShellScript "${name}-init" ''
|
||||
source /etc/profile
|
||||
${createLdConfCache}
|
||||
exec ${lib.escapeShellArg run} "$@"
|
||||
exec ${run} "$@"
|
||||
'';
|
||||
|
||||
indentLines = str: lib.concatLines (map (s: " " + s) (filter (s: s != "") (lib.splitString "\n" str)));
|
||||
|
Loading…
Reference in New Issue
Block a user