nixos/kresd: never force extraFeatures = false

Fixes #81109.  Regressed in PR #78392 (26858063).
This commit is contained in:
Vladimír Čunát 2020-02-26 15:10:53 +01:00
parent bee470ef9a
commit 5f881209f9
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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 */ ];