ocamlPackages.camlimages_4_2_4: fix build
This commit is contained in:
parent
30b7f827cb
commit
0250669c66
1 changed files with 4 additions and 3 deletions
|
@ -15,7 +15,8 @@
|
|||
, 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 {
|
||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||
|
@ -54,9 +55,9 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preBuild
|
||||
runHook preInstall
|
||||
omake install
|
||||
runHook postBuild
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
|
Loading…
Reference in a new issue