ocaml-ng.ocamlPackages_4_01_0.cstruct-lwt: fix evaluation
This commit is contained in:
parent
fa3d3f982a
commit
3cca862a5f
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
{ buildDunePackage, cstruct, lwt }:
|
||||
{ lib, buildDunePackage, cstruct, lwt }:
|
||||
|
||||
if !lib.versionAtLeast (cstruct.version or "1") "3"
|
||||
then cstruct
|
||||
else
|
||||
|
||||
buildDunePackage {
|
||||
pname = "cstruct-lwt";
|
||||
|
|
Loading…
Reference in a new issue