1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

zarith: fix perl path

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-05-01 09:14:05 -05:00
parent 3b1a171c05
commit 4fe2f98051

View file

@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
buildInputs = [ ocaml findlib pkgconfig gmp perl ];
patchPhase = ''
substituteInPlace ./z_pp.pl --replace '/usr/bin/perl' '${perl}/bin/perl'
'';
configurePhase = ''
./configure -installdir $out/lib/ocaml/${ocaml_version}/site-lib
'';