Skip to content

Commit ab0eae0

Browse files
committed
Revert "unbound: fix cross-compilation (NixOS#370087)"
This reverts commit a8f36e3. A similar change was already pushed to staging (see NixOS#364656).
1 parent 8568812 commit ab0eae0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/by-name/un/unbound/package.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ stdenv.mkDerivation (finalAttrs: {
6767
nativeBuildInputs =
6868
lib.optionals withMakeWrapper [ makeWrapper ]
6969
++ lib.optionals withDNSTAP [ protobufc ]
70-
++ [ pkg-config flex bison ]
70+
++ [ pkg-config flex ]
7171
++ lib.optionals withPythonModule [ swig ];
7272

7373
buildInputs = [ openssl nettle expat libevent ]
@@ -121,6 +121,8 @@ stdenv.mkDerivation (finalAttrs: {
121121
sed -E '/CONFCMDLINE/ s;${storeDir}/[a-z0-9]{32}-;${storeDir}/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-;g' -i config.h
122122
'';
123123

124+
nativeCheckInputs = [ bison ];
125+
124126
doCheck = true;
125127

126128
postPatch = lib.optionalString withPythonModule ''

0 commit comments

Comments
 (0)