ocamlPackages.uri_p4: disable for OCaml ≥ 4.03
This commit is contained in:
parent
7829eb794f
commit
459f17a8d5
|
@ -4,7 +4,9 @@
|
||||||
, sexplib_p4
|
, sexplib_p4
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert stdenv.lib.versionAtLeast ocaml.version "4";
|
if !stdenv.lib.versionAtLeast ocaml.version "4"
|
||||||
|
|| legacyVersion && stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||||
|
then throw "uri${stdenv.lib.optionalString legacyVersion "_p4"} is not available for OCaml ${ocaml.version}" else
|
||||||
|
|
||||||
with
|
with
|
||||||
if legacyVersion
|
if legacyVersion
|
||||||
|
|
Loading…
Reference in New Issue