mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Merge pull request #81122 from vcunat/p/kresd-extraFeatures
nixos/kresd: never force `extraFeatures = false`
This commit is contained in:
commit
8e1350e392
|
@ -32,9 +32,9 @@ let
|
||||||
+ cfg.extraConfig
|
+ cfg.extraConfig
|
||||||
);
|
);
|
||||||
|
|
||||||
package = pkgs.knot-resolver.override {
|
package = if cfg.listenDoH == []
|
||||||
extraFeatures = cfg.listenDoH != [];
|
then pkgs.knot-resolver # never force `extraFeatures = false`
|
||||||
};
|
else pkgs.knot-resolver.override { extraFeatures = true; };
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [ maintainers.vcunat /* upstream developer */ ];
|
meta.maintainers = [ maintainers.vcunat /* upstream developer */ ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue