mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
nixos/kresd: never force extraFeatures = false
Fixes #81109. Regressed in PR #78392 (26858063
).
This commit is contained in:
parent
bee470ef9a
commit
5f881209f9
@ -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 New Issue
Block a user