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
'';