From 48d3c123048f483a9772ff1f093cbb2d8225f2e0 Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Sat, 28 Sep 2013 19:25:25 +0200 Subject: lilypond: add missing ghostscript path to wrapper --- pkgs/misc/lilypond/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkgs/misc') diff --git a/pkgs/misc/lilypond/default.nix b/pkgs/misc/lilypond/default.nix index 6d5d87faad6e..2b6606faf3b5 100644 --- a/pkgs/misc/lilypond/default.nix +++ b/pkgs/misc/lilypond/default.nix @@ -24,7 +24,10 @@ stdenv.mkDerivation rec{ ''; postInstall = '' - for f in $out/bin/*; do wrapProgram $f --set GUILE_AUTO_COMPILE 0; done + for f in "$out"/bin/*; do + wrapProgram "$f" --set GUILE_AUTO_COMPILE 0 \ + --set PATH "${ghostscript}/bin" + done ''; configureFlags = [ "--disable-documentation" "--with-ncsb-dir=${urwfonts}"]; -- cgit 1.4.1