From c6f951a347a7939a43279f4dc00ec05a537a133e Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 28 May 2025 14:58:53 +0200 Subject: [PATCH] Re-enable `--attic-cache` in `nix-fast-build` --- .forgejo/workflows/build.yaml | 4 +--- checks/default.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 6edae8f..a2224c0 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -16,8 +16,6 @@ jobs: chmod 600 ~/.ssh/id_ed25519 ssh-keyscan github.com >> ~/.ssh/known_hosts - name: Build with nix (x86_64-linux) - run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux" --skip-cached --result-file result.json || true - - name: Push to cache - run: nix run .#push-to-cache -- nixfleet + run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true - name: Report checks run: report-checks diff --git a/checks/default.nix b/checks/default.nix index 9030d41..f82204c 100644 --- a/checks/default.nix +++ b/checks/default.nix @@ -61,9 +61,7 @@ build = _: nc: nc.config.system.build.toplevel; in { - x86_64-linux = (lib.mapAttrs build { inherit (self.nixosConfigurations) picard pike kirk; }) // { - inherit (self.checks.x86_64-linux) push-to-cache; - }; + x86_64-linux = (lib.mapAttrs build { inherit (self.nixosConfigurations) picard pike kirk; }); aarch64-linux = lib.mapAttrs build { inherit (self.nixosConfigurations) sisko; # pbp; };