1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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
);
package = pkgs.knot-resolver.override {
extraFeatures = cfg.listenDoH != [];
};
package = if cfg.listenDoH == []
then pkgs.knot-resolver # never force `extraFeatures = false`
else pkgs.knot-resolver.override { extraFeatures = true; };
in {
meta.maintainers = [ maintainers.vcunat /* upstream developer */ ];