Commit cd96817b authored by Atemu's avatar Atemu
Browse files

buildFHSEnvBubblewrap: escape runScript path

parent 3e313808
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 ${run} "$@"
    exec ${lib.escapeShellArg run} "$@"
  '';

  indentLines = str: lib.concatLines (map (s: "  " + s) (filter (s: s != "") (lib.splitString "\n" str)));