diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2015-12-27 18:42:27 +0100 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2015-12-27 18:43:58 +0100 |
commit | 3570bc30affa9b72c67e2f56d5de1cf9d9c42b7e (patch) | |
tree | 0040ec87f38ebc168a65f90cb7401c53439c3907 /pkgs/misc | |
parent | 8d465938819783afcef03ce94635641f7c2be782 (diff) |
lilypond: add a workaround for fontforge version detection
A part of Fontforge store path was taken as a part of the version by configure script leading to a version check failure.
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/lilypond/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/misc/lilypond/default.nix b/pkgs/misc/lilypond/default.nix index 21df615d66164..8b2be0914e3e8 100644 --- a/pkgs/misc/lilypond/default.nix +++ b/pkgs/misc/lilypond/default.nix @@ -25,6 +25,11 @@ stdenv.mkDerivation rec{ preConfigure='' sed -e "s@mem=mf2pt1@mem=$PWD/mf/mf2pt1@" -i scripts/build/mf2pt1.pl + + # At some point our fontforge had path 2n…-fontforge-2015… and it + # confused the version detection… + sed -re 's%("[$]exe" --version .*)([|\\] *$)%\1 | sed -re "s@/nix/store/[a-z0-9]{32}-@@" \2%' \ + -i configure ''; postInstall = '' |