mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
ocamlPackages.camlimages_4_0: only build with ocaml 4.01
This commit is contained in:
parent
9d57f1ae9a
commit
bf13a2cfc6
@ -96,7 +96,10 @@ let
|
|||||||
camomile_0_8_2 = callPackage ../development/ocaml-modules/camomile/0.8.2.nix { };
|
camomile_0_8_2 = callPackage ../development/ocaml-modules/camomile/0.8.2.nix { };
|
||||||
camomile = callPackage ../development/ocaml-modules/camomile { };
|
camomile = callPackage ../development/ocaml-modules/camomile { };
|
||||||
|
|
||||||
camlimages_4_0 = callPackage ../development/ocaml-modules/camlimages/4.0.nix {
|
camlimages_4_0 =
|
||||||
|
if lib.versionOlder "4.02" ocaml.version
|
||||||
|
then null
|
||||||
|
else callPackage ../development/ocaml-modules/camlimages/4.0.nix {
|
||||||
libpng = pkgs.libpng12;
|
libpng = pkgs.libpng12;
|
||||||
giflib = pkgs.giflib_4_1;
|
giflib = pkgs.giflib_4_1;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user