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:
parent
d085e457eb
commit
670ac47e52
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
# its Scheme libraries.
|
# its Scheme libraries.
|
||||||
wrapProgram "$f" \
|
wrapProgram "$f" \
|
||||||
--set GUILE_AUTO_COMPILE 0 \
|
--set GUILE_AUTO_COMPILE 0 \
|
||||||
--set PATH "${lib.makeBinPath [ ghostscript coreutils (placeholder "out") ]}" \
|
--prefix PATH : "${lib.makeBinPath [ ghostscript coreutils (placeholder "out") ]}" \
|
||||||
--argv0 "$f"
|
--argv0 "$f"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user