diff --git a/pkgs/development/libraries/neon/default.nix b/pkgs/development/libraries/neon/default.nix index 4a00044bb557..827d7eb69799 100644 --- a/pkgs/development/libraries/neon/default.nix +++ b/pkgs/development/libraries/neon/default.nix @@ -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")