diff options
author | Austin Seipp <aseipp@pobox.com> | 2014-05-01 09:14:05 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2014-05-01 09:14:16 -0500 |
commit | 4fe2f9805120800b83752f3d29a8d3db18677d0a (patch) | |
tree | 4ce32b09f6bcd46326d3f6c32cdb9f6e88d12ebe /pkgs/development/ocaml-modules/zarith | |
parent | 3b1a171c0588d38f4127c10811976787c785fd62 (diff) |
zarith: fix perl path
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/development/ocaml-modules/zarith')
-rw-r--r-- | pkgs/development/ocaml-modules/zarith/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/zarith/default.nix b/pkgs/development/ocaml-modules/zarith/default.nix index a05ff43a3df56..10ac88bcb90b8 100644 --- a/pkgs/development/ocaml-modules/zarith/default.nix +++ b/pkgs/development/ocaml-modules/zarith/default.nix @@ -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 ''; |