Try logging into FlakeHub if nix-installer didn't do that for us

This commit is contained in:
Ana Hobden 2024-02-12 14:17:20 -08:00
parent ee9b236259
commit f1d5b7fdc5

View file

@ -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&parallel-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
};