From 210040084edbbc28b7dddff7a5222e08351c0a2c Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 20 Apr 2021 12:52:41 +0200 Subject: profiles/tvl: remove effect-less mkAfter Binary cache priority is only decided by list ordering if the caches have the same priority, but cache.tvl.su has a higher priority than cache.nixos.org and headcounter.org/hydra. Due to https://github.com/NixOS/nix/issues/4717 we can't specify the priority for cache.tvl.su via the URL options method. --- modules/profiles/tvl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/profiles') diff --git a/modules/profiles/tvl.nix b/modules/profiles/tvl.nix index ac7a7da4..50f533ac 100644 --- a/modules/profiles/tvl.nix +++ b/modules/profiles/tvl.nix @@ -13,11 +13,11 @@ in config = lib.mkIf cfg.enable { nix = { - binaryCachePublicKeys = lib.mkAfter [ + binaryCachePublicKeys = [ "cache.tvl.su:kjc6KOMupXc1vHVufJUoDUYeLzbwSr9abcAKdn/U1Jk=" ]; - binaryCaches = lib.mkAfter [ + binaryCaches = [ "https://cache.tvl.su" ]; -- cgit 1.4.1