ocaml-async: set attribute to null for unsupported OCaml versions
This commit is contained in:
parent
70cb6e67c0
commit
2c9f03ff81
@ -4104,7 +4104,10 @@ let
|
||||
|
||||
async_unix = callPackage ../development/ocaml-modules/async_unix { };
|
||||
|
||||
async = callPackage ../development/ocaml-modules/async { };
|
||||
async =
|
||||
if lib.versionOlder "4.02" ocaml_version
|
||||
then callPackage ../development/ocaml-modules/async { }
|
||||
else null;
|
||||
|
||||
atd = callPackage ../development/ocaml-modules/atd { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user