Unverified Commit 670ac47e authored by Omid Momenzadeh's avatar Omid Momenzadeh
Browse files

lilypond: avoid resetting the PATH in makeWrapper

Using `--set` obscures the user's `PATH`, which
`lilypond-invoke-editor` depends on. The problem can be reproduced by
setting the `LYEDITOR` environment variable before executing
`lilypond-invoke-editor`.
parent d085e457
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
        # its Scheme libraries.
        wrapProgram "$f" \
          --set GUILE_AUTO_COMPILE 0 \
          --set PATH "${lib.makeBinPath [ ghostscript coreutils (placeholder "out") ]}" \
          --prefix PATH : "${lib.makeBinPath [ ghostscript coreutils (placeholder "out") ]}" \
          --argv0 "$f"
    done
  '';