diff --git a/pkgs/by-name/un/unbound/package.nix b/pkgs/by-name/un/unbound/package.nix index 1dc14e412297..f96caa1428da 100644 --- a/pkgs/by-name/un/unbound/package.nix +++ b/pkgs/by-name/un/unbound/package.nix @@ -67,7 +67,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = lib.optionals withMakeWrapper [ makeWrapper ] ++ lib.optionals withDNSTAP [ protobufc ] - ++ [ pkg-config flex ] + ++ [ pkg-config flex bison ] ++ lib.optionals withPythonModule [ swig ]; buildInputs = [ openssl nettle expat libevent ] @@ -121,8 +121,6 @@ stdenv.mkDerivation (finalAttrs: { sed -E '/CONFCMDLINE/ s;${storeDir}/[a-z0-9]{32}-;${storeDir}/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-;g' -i config.h ''; - nativeCheckInputs = [ bison ]; - doCheck = true; postPatch = lib.optionalString withPythonModule ''