diff options
-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 a05ff43a3df..10ac88bcb90 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 ''; |