Commit d5f0da15 authored by Atemu's avatar Atemu Committed by Anderson Torres
Browse files

Revert "Merge pull request #230693 from Atemu/fix/fhsenv-escape-runScript-path"

This reverts commit 840f2e0a, reversing
changes made to d3ed0402.

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.
parent 344ab3d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)));