From b08e97efead72402741b8a5faffa0ebe464520ae Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 18 Jan 2024 07:38:51 -0800 Subject: [PATCH] Don't rely on cache.nixos.org Users can substitute from it the first time they encounter a path it has, but otherwise they should re-substitute from us. --- magic-nix-cache/src/flakehub.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic-nix-cache/src/flakehub.rs b/magic-nix-cache/src/flakehub.rs index d1ad39c..8697a98 100644 --- a/magic-nix-cache/src/flakehub.rs +++ b/magic-nix-cache/src/flakehub.rs @@ -134,7 +134,7 @@ pub async fn init_cache( is_public: false, priority: 39, store_dir: "/nix/store".to_owned(), - upstream_cache_key_names: vec!["cache.nixos.org-1".to_owned()], // FIXME: do we want this? + upstream_cache_key_names: vec![], }; if let Err(err) = api.create_cache(&cache, request).await {