unbound: bison is required when cross-compiling
This commit is contained in:
parent
ab0eae0fb0
commit
a36d820bab
@ -64,10 +64,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
|
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs = [ bison flex pkg-config ]
|
||||||
lib.optionals withMakeWrapper [ makeWrapper ]
|
++ lib.optionals withMakeWrapper [ makeWrapper ]
|
||||||
++ lib.optionals withDNSTAP [ protobufc ]
|
++ lib.optionals withDNSTAP [ protobufc ]
|
||||||
++ [ pkg-config flex ]
|
|
||||||
++ lib.optionals withPythonModule [ swig ];
|
++ lib.optionals withPythonModule [ swig ];
|
||||||
|
|
||||||
buildInputs = [ openssl nettle expat libevent ]
|
buildInputs = [ openssl nettle expat libevent ]
|
||||||
@ -121,8 +120,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
sed -E '/CONFCMDLINE/ s;${storeDir}/[a-z0-9]{32}-;${storeDir}/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-;g' -i config.h
|
sed -E '/CONFCMDLINE/ s;${storeDir}/[a-z0-9]{32}-;${storeDir}/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-;g' -i config.h
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeCheckInputs = [ bison ];
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
postPatch = lib.optionalString withPythonModule ''
|
postPatch = lib.optionalString withPythonModule ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user