From fdc512d107d2777e9af89f4dc0191c8878b57aa5 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Mon, 3 Mar 2025 08:13:33 -0500 Subject: [PATCH] services/dnscrypt-proxy: Fix use of pkg alias `dnscrypt-proxy2` is just an alias for `dnscrypt-proxy`. Use that and avoid eval failures when Nixpkgs is configured with `allowAliases = false`. --- modules/services/dnscrypt-proxy.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/dnscrypt-proxy.nix b/modules/services/dnscrypt-proxy.nix index 9073ff2..f0ba1d5 100644 --- a/modules/services/dnscrypt-proxy.nix +++ b/modules/services/dnscrypt-proxy.nix @@ -20,12 +20,12 @@ in enable = lib.mkEnableOption "the dnscrypt-proxy service."; - package = lib.mkPackageOption pkgs "dnscrypt-proxy2" { }; + package = lib.mkPackageOption pkgs "dnscrypt-proxy" { }; settings = lib.mkOption { description = '' Attrset that is converted and passed as TOML config file. - For available params, see: + For available params, see: ''; example = lib.literalExpression '' {