From a9e30bd84bf6f1f489482ac849c90f773c10ebc1 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Sat, 26 Jul 2025 08:13:02 +0200 Subject: [PATCH] Set fallback for binary caches This makes builds not fail when my own binary cache is offline for some reason --- homes/julian/hm-standalone-config.nix | 3 +++ hosts/common/optional/binarycaches.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/homes/julian/hm-standalone-config.nix b/homes/julian/hm-standalone-config.nix index 026fed9..6b8da7d 100644 --- a/homes/julian/hm-standalone-config.nix +++ b/homes/julian/hm-standalone-config.nix @@ -39,5 +39,8 @@ ]; # nix.settings. # warn-dirty = false; # TODO: do I want this + # + # Ensure we can still build when missing-server is not accessible + fallback = true; }; } diff --git a/hosts/common/optional/binarycaches.nix b/hosts/common/optional/binarycaches.nix index f0899dd..82ea441 100644 --- a/hosts/common/optional/binarycaches.nix +++ b/hosts/common/optional/binarycaches.nix @@ -21,5 +21,8 @@ "root" "@wheel" ]; # needed for devenv to add custom caches + + # Ensure we can still build when missing-server is not accessible + fallback = true; }; }