mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
lilypond: fix $PATH (#302423)
Co-authored-by: Aleksana <alexander.huang.y@gmail.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
e20b16e5a3
commit
91b878a48b
@ -2,7 +2,7 @@
|
||||
, python3, gettext, flex, perl, bison, pkg-config, autoreconfHook, dblatex
|
||||
, fontconfig, freetype, pango, fontforge, help2man, zip, netpbm, groff
|
||||
, freefont_ttf, makeFontsConf
|
||||
, makeWrapper, t1utils, boehmgc, rsync
|
||||
, makeWrapper, t1utils, boehmgc, rsync, coreutils
|
||||
, texliveSmall, tex ? texliveSmall.withPackages (ps: with ps; [ lh metafont epsf fontinst ])
|
||||
}:
|
||||
|
||||
@ -19,9 +19,10 @@ stdenv.mkDerivation rec {
|
||||
for f in "$out/bin/"*; do
|
||||
# Override default argv[0] setting so LilyPond can find
|
||||
# its Scheme libraries.
|
||||
wrapProgram "$f" --set GUILE_AUTO_COMPILE 0 \
|
||||
--set PATH "${ghostscript}/bin" \
|
||||
--argv0 "$f"
|
||||
wrapProgram "$f" \
|
||||
--set GUILE_AUTO_COMPILE 0 \
|
||||
--set PATH "${lib.makeBinPath [ ghostscript coreutils (placeholder "out") ]}" \
|
||||
--argv0 "$f"
|
||||
done
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user