From f1d5b7fdc5740cafba6071d405db912be1f802ae Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 12 Feb 2024 14:17:20 -0800 Subject: [PATCH 1/2] Try logging into FlakeHub if nix-installer didn't do that for us --- magic-nix-cache/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/magic-nix-cache/src/main.rs b/magic-nix-cache/src/main.rs index c31bc8e..abbafdb 100644 --- a/magic-nix-cache/src/main.rs +++ b/magic-nix-cache/src/main.rs @@ -190,7 +190,7 @@ async fn main_cli() { Some(state) } Err(err) => { - tracing::error!("FlakeHub cache initialization failed: {}", err); + tracing::debug!("Flakehub cache initialization failed: {}", err); None } } @@ -221,10 +221,10 @@ async fn main_cli() { .write_all(format!("extra-substituters = http://{}?trusted=1&compression=zstd¶llel-compression=true&priority=1\n", args.listen).as_bytes()) .expect("Writing to nix.conf"); - tracing::info!("GitHub Action cache is enabled."); + tracing::info!("Native GitHub Action cache is enabled."); Some(api) } else { - tracing::info!("GitHub Action cache is disabled."); + tracing::info!("Native GitHub Action cache is disabled."); None }; From 0e4f6af07b9f99f04bdd0cb07c5694c04eea25fb Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Tue, 13 Feb 2024 09:37:11 -0800 Subject: [PATCH 2/2] FlakeHub not Flakehub --- magic-nix-cache/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic-nix-cache/src/main.rs b/magic-nix-cache/src/main.rs index abbafdb..015eda3 100644 --- a/magic-nix-cache/src/main.rs +++ b/magic-nix-cache/src/main.rs @@ -190,7 +190,7 @@ async fn main_cli() { Some(state) } Err(err) => { - tracing::debug!("Flakehub cache initialization failed: {}", err); + tracing::debug!("FlakeHub cache initialization failed: {}", err); None } }