ocamlPackages.camlimages_4_2_4: fix build
This commit is contained in:
parent
30b7f827cb
commit
0250669c66
@ -15,7 +15,8 @@
|
|||||||
, ghostscript
|
, ghostscript
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert lib.versionOlder ocaml.version "4.06";
|
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.02" && lib.versionOlder ocaml.version "4.10")
|
||||||
|
"camlimages 4.2.4 is not available for OCaml ${ocaml.version}"
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||||
@ -54,9 +55,9 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preBuild
|
runHook preInstall
|
||||||
omake install
|
omake install
|
||||||
runHook postBuild
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user