mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
zarith: fix perl path
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
3b1a171c05
commit
4fe2f98051
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue