3
0
Fork 0
forked from mirrors/nixpkgs

GNU cflow: Fix reference to `cpp'.

svn path=/nixpkgs/trunk/; revision=13132
This commit is contained in:
Ludovic Courtès 2008-10-28 10:25:10 +00:00
parent 6921e41e84
commit 79bcd85e81

View file

@ -8,6 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "0b45b1x1g9i23mv68pjl008qm4lkbd62hka2bf2gkjd2n4nalc6v";
};
patchPhase = ''
substituteInPlace "src/cflow.h" \
--replace "/usr/bin/cpp" \
"$(cat ${stdenv.gcc}/nix-support/orig-gcc)/bin/cpp"
'';
buildInputs = [ gettext emacs ];
doCheck = true;