From 942d312a69e5f3bb28ab1b7b3518d070ea0aa2c0 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 9 Apr 2020 18:58:29 +0200 Subject: [PATCH] ocamlPackages.cstruct-sexp: separate checkInputs --- pkgs/development/ocaml-modules/cstruct/sexp.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/cstruct/sexp.nix b/pkgs/development/ocaml-modules/cstruct/sexp.nix index 9a1ef0dd301f..d4b311181d54 100644 --- a/pkgs/development/ocaml-modules/cstruct/sexp.nix +++ b/pkgs/development/ocaml-modules/cstruct/sexp.nix @@ -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 ]; }