ocamlPackages.ocamlsdl: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-29 12:44:12 +00:00
parent e63e4c11cc
commit 20af031a2f
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -4,6 +4,10 @@ let
pname = "ocamlsdl";
in
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "${pname} is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "0.9.1";