diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 17:41:42 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:42 +0000 |
commit | 3fb8dac658a4792f8735bfbc5801f476d3309e66 (patch) | |
tree | 8b7c4b095fa323cb7f2246abf39d9f9ec419a166 /pkgs/development/ocaml-modules/cryptgps | |
parent | ebd62e2423a7c12083566086f2ffb697321cf858 (diff) | |
download | nixlib-3fb8dac658a4792f8735bfbc5801f476d3309e66.tar nixlib-3fb8dac658a4792f8735bfbc5801f476d3309e66.tar.gz nixlib-3fb8dac658a4792f8735bfbc5801f476d3309e66.tar.bz2 nixlib-3fb8dac658a4792f8735bfbc5801f476d3309e66.tar.lz nixlib-3fb8dac658a4792f8735bfbc5801f476d3309e66.tar.xz nixlib-3fb8dac658a4792f8735bfbc5801f476d3309e66.tar.zst nixlib-3fb8dac658a4792f8735bfbc5801f476d3309e66.zip |
ocamlPackages.ocaml_cryptgps: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development/ocaml-modules/cryptgps')
-rw-r--r-- | pkgs/development/ocaml-modules/cryptgps/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/cryptgps/default.nix b/pkgs/development/ocaml-modules/cryptgps/default.nix index cb85ebce5016..f8eb80837a3e 100644 --- a/pkgs/development/ocaml-modules/cryptgps/default.nix +++ b/pkgs/development/ocaml-modules/cryptgps/default.nix @@ -1,5 +1,9 @@ {stdenv, fetchurl, ocaml, findlib}: +if stdenv.lib.versionAtLeast ocaml.version "4.06" +then throw "cryptgps is not available for OCaml ${ocaml.version}" +else + stdenv.mkDerivation rec { name = "ocaml-cryptgps-${version}"; version = "0.2.1"; |