ocamlPackages.cil: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 18:52:09 +00:00
parent e79e66cad1
commit 8a62ad06c2
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,4 +1,9 @@
{ stdenv, fetchurl, perl, ocaml, findlib, ocamlbuild }:
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "cil is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation {
name = "ocaml-cil-1.7.3";
src = fetchurl {