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:
parent
3cca862a5f
commit
f41ac80d74
|
@ -1,4 +1,8 @@
|
|||
{ buildDunePackage, cstruct }:
|
||||
{ lib, buildDunePackage, cstruct }:
|
||||
|
||||
if !lib.versionAtLeast (cstruct.version or "1") "3"
|
||||
then cstruct
|
||||
else
|
||||
|
||||
buildDunePackage {
|
||||
pname = "cstruct-unix";
|
||||
|
|
Loading…
Reference in a new issue