diff --git a/pkgs/servers/http/myserver/default.nix b/pkgs/servers/http/myserver/default.nix index a18ac202a4a2..b4ed3324491a 100644 --- a/pkgs/servers/http/myserver/default.nix +++ b/pkgs/servers/http/myserver/default.nix @@ -14,9 +14,11 @@ stdenv.mkDerivation rec { patches = [ ./disable-dns-lookup-in-chroot.patch ]; - buildInputs = - [ libgcrypt libevent libidn gnutls libxml2 zlib guile texinfo ] - ++ lib.optional doCheck cppunit; + buildInputs = [ + libgcrypt libevent libidn gnutls libxml2 zlib guile texinfo + ]; + + checkInputs = [ cppunit ]; makeFlags = [ "V=1" ];