mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
stubby: add enableStubOnly (ENABLE_STUB_ONLY) option
This commit is contained in:
parent
a34d5697f8
commit
2cbda4c13b
1 changed files with 5 additions and 2 deletions
|
@ -8,6 +8,8 @@
|
||||||
openssl,
|
openssl,
|
||||||
unbound,
|
unbound,
|
||||||
yq,
|
yq,
|
||||||
|
|
||||||
|
enableStubOnly ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -34,8 +36,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libidn2
|
libidn2
|
||||||
openssl
|
openssl
|
||||||
unbound
|
] ++ lib.optional (!enableStubOnly) unbound;
|
||||||
];
|
|
||||||
|
cmakeFlags = [ (lib.strings.cmakeBool "ENABLE_STUB_ONLY" enableStubOnly) ];
|
||||||
|
|
||||||
# https://github.com/getdnsapi/getdns/issues/517
|
# https://github.com/getdnsapi/getdns/issues/517
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue