forked from mirrors/nixpkgs
ocamlPackages.cstruct-sexp: separate checkInputs
This commit is contained in:
parent
8e0d02c073
commit
942d312a69
|
@ -4,12 +4,12 @@ if !lib.versionAtLeast (cstruct.version or "1") "3"
|
|||
then cstruct
|
||||
else
|
||||
|
||||
buildDunePackage {
|
||||
buildDunePackage rec {
|
||||
pname = "cstruct-sexp";
|
||||
inherit (cstruct) version src meta;
|
||||
|
||||
doCheck = true;
|
||||
buildInputs = [ alcotest ];
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
|
||||
propagatedBuildInputs = [ cstruct sexplib ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue