Skip to content

Commit a36d820

Browse files
misuzuzimbatm
authored andcommitted
unbound: bison is required when cross-compiling
1 parent ab0eae0 commit a36d820

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ stdenv.mkDerivation (finalAttrs: {
6464

6565
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
6666

67-
nativeBuildInputs =
68-
lib.optionals withMakeWrapper [ makeWrapper ]
67+
nativeBuildInputs = [ bison flex pkg-config ]
68+
++ lib.optionals withMakeWrapper [ makeWrapper ]
6969
++ lib.optionals withDNSTAP [ protobufc ]
70-
++ [ pkg-config flex ]
7170
++ lib.optionals withPythonModule [ swig ];
7271

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

124-
nativeCheckInputs = [ bison ];
125-
126123
doCheck = true;
127124

128125
postPatch = lib.optionalString withPythonModule ''

0 commit comments

Comments
 (0)