diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-04-20 12:52:41 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-04-20 12:52:41 +0200 |
commit | 210040084edbbc28b7dddff7a5222e08351c0a2c (patch) | |
tree | 27c3f4deb53e722b8ba4f7da291a1463448edc32 | |
parent | 2de74b855dab4aca277b1e923e544ef830c75e62 (diff) |
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.
-rw-r--r-- | modules/profiles/tvl.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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" ]; |