ocamlPackages.zarith: fix build in chrooted environments
This commit is contained in:
parent
8085aff315
commit
26256b7cea
@ -26,9 +26,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ ocaml findlib pkgconfig perl ];
|
||||
propagatedBuildInputs = [ gmp ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace ./z_pp.pl --replace '/usr/bin/perl' '${perl}/bin/perl'
|
||||
'';
|
||||
patchPhase = "patchShebangs ./z_pp.pl";
|
||||
configurePhase = ''
|
||||
./configure -installdir $out/lib/ocaml/${ocaml.version}/site-lib
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user