neon: enable strictDeps

This commit is contained in:
Rick van Schijndel 2022-06-09 23:16:19 +02:00 committed by Rick van Schijndel
parent 390d78cc23
commit 44544e46a8

View File

@ -3,6 +3,7 @@
, sslSupport ? true, openssl ? null
, static ? stdenv.hostPlatform.isStatic
, shared ? !stdenv.hostPlatform.isStatic
, bash
}:
assert compressionSupport -> zlib != null;
@ -25,9 +26,11 @@ stdenv.mkDerivation rec {
patches = optionals stdenv.isDarwin [ ./darwin-fix-configure.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [libxml2 openssl]
buildInputs = [libxml2 openssl bash]
++ lib.optional compressionSupport zlib;
strictDeps = true;
configureFlags = [
(lib.enableFeature shared "shared")
(lib.enableFeature static "static")