unbound: fix cross-compilation (#370087)

Due to a check in make-derivation.nix (https://github.com/nixos/nixpkgs/blob/e4f449ab51a283676d3b520c3dbaa3eafa5025b4/pkgs/stdenv/generic/make-derivation.nix#L288),
`nativeCheckInputs` is not used. This causes cross-compilation for
unbound to fail due to the programs in `bison` not being available.

authored by Jared Baur and committed by GitHub a8f36e39 92de48d8

+1 -3
+1 -3
pkgs/by-name/un/unbound/package.nix
··· 67 67 nativeBuildInputs = 68 68 lib.optionals withMakeWrapper [ makeWrapper ] 69 69 ++ lib.optionals withDNSTAP [ protobufc ] 70 - ++ [ pkg-config flex ] 70 + ++ [ pkg-config flex bison ] 71 71 ++ lib.optionals withPythonModule [ swig ]; 72 72 73 73 buildInputs = [ openssl nettle expat libevent ] ··· 120 120 in '' 121 121 sed -E '/CONFCMDLINE/ s;${storeDir}/[a-z0-9]{32}-;${storeDir}/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-;g' -i config.h 122 122 ''; 123 - 124 - nativeCheckInputs = [ bison ]; 125 123 126 124 doCheck = true; 127 125