Opam 1.1: Constrain supported ocaml versions.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
This commit is contained in:
Moritz Ulrich 2013-12-25 14:43:23 +01:00
parent 545216ee02
commit e87515e519
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
{ stdenv, fetchgit, fetchurl, ocaml, unzip, ncurses, curl }:
# Opam 1.1 only works with ocaml >= 3.12.1 according to ./configure
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12.1";
let
srcs = {
cudf = fetchurl {

View File

@ -3024,7 +3024,7 @@ let
pycaml = callPackage ../development/ocaml-modules/pycaml { };
opam_1_0_0 = callPackage ../development/tools/ocaml/opam/1.0.0.nix { };
opam_1_1 = callPackage ../development/tools/ocaml/opam/1.1.nix { ocaml = ocaml_4_01_0; };
opam_1_1 = callPackage ../development/tools/ocaml/opam/1.1.nix { };
opam = opam_1_1;
};