3
0
Fork 0
forked from mirrors/nixpkgs

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
commit b048cf56d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {