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`.
This commit is contained in:
Omid Momenzadeh
2024-07-06 14:30:50 +03:30
committed by Florian Brandes
parent cf3121fc3f
commit aa503c5027

View File

@@ -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
'';