ocamlPackages.ocurl: disable for ocaml<4.02
This commit is contained in:
parent
f188bad6ea
commit
02388c07bd
|
@ -1,5 +1,9 @@
|
||||||
{ stdenv, pkgconfig, ocaml, findlib, fetchurl, curl, ncurses }:
|
{ stdenv, pkgconfig, ocaml, findlib, fetchurl, curl, ncurses }:
|
||||||
|
|
||||||
|
if stdenv.lib.versionOlder ocaml.version "4.02"
|
||||||
|
then throw "ocurl is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocurl-0.8.2";
|
name = "ocurl-0.8.2";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
Loading…
Reference in New Issue