ocaml-ng.ocamlPackages_4_01_0.cstruct-lwt: fix evaluation

This commit is contained in:
Vincent Laporte 2018-12-10 19:59:32 +00:00 committed by Vincent Laporte
parent fa3d3f982a
commit 3cca862a5f

View file

@ -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";