diff options
author | Moritz Ulrich <moritz@tarn-vedra.de> | 2013-12-25 14:43:23 +0100 |
---|---|---|
committer | Moritz Ulrich <moritz@tarn-vedra.de> | 2013-12-25 14:43:23 +0100 |
commit | e87515e5198a9b225778caea4c7b88fe27c8fabb (patch) | |
tree | c1cd464c36fbedec2ac3b6aa7b9b152b845e75be /pkgs/development/tools/ocaml/opam | |
parent | 545216ee02d888b8d696dbb6a678a5d068d72eb0 (diff) | |
download | nixpkgs-e87515e5198a9b225778caea4c7b88fe27c8fabb.tar nixpkgs-e87515e5198a9b225778caea4c7b88fe27c8fabb.tar.gz nixpkgs-e87515e5198a9b225778caea4c7b88fe27c8fabb.tar.bz2 nixpkgs-e87515e5198a9b225778caea4c7b88fe27c8fabb.tar.lz nixpkgs-e87515e5198a9b225778caea4c7b88fe27c8fabb.tar.xz nixpkgs-e87515e5198a9b225778caea4c7b88fe27c8fabb.tar.zst nixpkgs-e87515e5198a9b225778caea4c7b88fe27c8fabb.zip |
Opam 1.1: Constrain supported ocaml versions.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Diffstat (limited to 'pkgs/development/tools/ocaml/opam')
-rw-r--r-- | pkgs/development/tools/ocaml/opam/1.1.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/opam/1.1.nix b/pkgs/development/tools/ocaml/opam/1.1.nix index 9d16c6f1e81..c5093db107d 100644 --- a/pkgs/development/tools/ocaml/opam/1.1.nix +++ b/pkgs/development/tools/ocaml/opam/1.1.nix @@ -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 { |