mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
ocamlPackages.uri_p4: disable for OCaml ≥ 4.03
This commit is contained in:
parent
7829eb794f
commit
459f17a8d5
@ -4,7 +4,9 @@
|
||||
, 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
|
||||
if legacyVersion
|
||||
|
Loading…
Reference in New Issue
Block a user