1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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