diff options
author | Florent Becker <Florent.Becker@ens-lyon.org> | 2017-02-16 15:03:20 +0100 |
---|---|---|
committer | Florent Becker <florent.becker@ens-lyon.org> | 2017-02-19 13:05:47 +0100 |
commit | bf13a2cfc6923f6b7ca7d47b604bf2d152619f3a (patch) | |
tree | 828e95bcb9bba79439eb5712f89e942c2a1da72a /pkgs/top-level/ocaml-packages.nix | |
parent | 9d57f1ae9a392f7050b5acfa4decc4875caeb07d (diff) | |
download | nixpkgs-bf13a2cfc6923f6b7ca7d47b604bf2d152619f3a.tar nixpkgs-bf13a2cfc6923f6b7ca7d47b604bf2d152619f3a.tar.gz nixpkgs-bf13a2cfc6923f6b7ca7d47b604bf2d152619f3a.tar.bz2 nixpkgs-bf13a2cfc6923f6b7ca7d47b604bf2d152619f3a.tar.lz nixpkgs-bf13a2cfc6923f6b7ca7d47b604bf2d152619f3a.tar.xz nixpkgs-bf13a2cfc6923f6b7ca7d47b604bf2d152619f3a.tar.zst nixpkgs-bf13a2cfc6923f6b7ca7d47b604bf2d152619f3a.zip |
ocamlPackages.camlimages_4_0: only build with ocaml 4.01
Diffstat (limited to 'pkgs/top-level/ocaml-packages.nix')
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 340ad8ff6cf..659b9243b6e 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -96,7 +96,10 @@ let camomile_0_8_2 = callPackage ../development/ocaml-modules/camomile/0.8.2.nix { }; 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; giflib = pkgs.giflib_4_1; }; |