Merge pull request #67429 from marsam/fix-ocurl

ocamlPackages.ocurl: disable for ocaml<4.02
This commit is contained in:
Mario Rodas
2019-08-25 06:35:46 -05:00
committed by GitHub

View File

@@ -1,5 +1,9 @@
{ 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 {
name = "ocurl-0.8.2";
src = fetchurl {