stubby: add enableStubOnly (ENABLE_STUB_ONLY) option
This commit is contained in:
committed by
Emery Hemingway
parent
a34d5697f8
commit
2cbda4c13b
@@ -8,6 +8,8 @@
|
||||
openssl,
|
||||
unbound,
|
||||
yq,
|
||||
|
||||
enableStubOnly ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -34,8 +36,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
libidn2
|
||||
openssl
|
||||
unbound
|
||||
];
|
||||
] ++ lib.optional (!enableStubOnly) unbound;
|
||||
|
||||
cmakeFlags = [ (lib.strings.cmakeBool "ENABLE_STUB_ONLY" enableStubOnly) ];
|
||||
|
||||
# https://github.com/getdnsapi/getdns/issues/517
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user