From 7d92e9b1ccab6dc5f7cd2e543bb0375c96a7eae0 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Mon, 22 Dec 2025 15:28:42 -0600 Subject: [PATCH] fix linux-builder ccache --- systems/aarch64-darwin/macbook-pro/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/systems/aarch64-darwin/macbook-pro/default.nix b/systems/aarch64-darwin/macbook-pro/default.nix index fc47913..7c4117c 100755 --- a/systems/aarch64-darwin/macbook-pro/default.nix +++ b/systems/aarch64-darwin/macbook-pro/default.nix @@ -32,11 +32,19 @@ }; nix = { - linux-builder.enable = true; + linux-builder = { + enable = true; + config = ({ pkgs, ... }: + { + systemd.tmpfiles.rules = [ + "d /var/cache/ccache 0770 root nixbld -" + ]; + }); + }; }; nix-rosetta-builder = { - enable = true; + enable = false; onDemand = true; }; }