mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
ocamlPackages.ocamlsdl: disable for OCaml ≥ 4.06
This commit is contained in:
parent
e63e4c11cc
commit
20af031a2f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user