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

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

View File

@ -1,4 +1,8 @@
{ buildDunePackage, cstruct }:
{ lib, buildDunePackage, cstruct }:
if !lib.versionAtLeast (cstruct.version or "1") "3"
then cstruct
else
buildDunePackage {
pname = "cstruct-unix";