@cryptotaxi247 / infra-1 / commits / 655f2626

builders: update build-dir for stale build pruning script

Martin Weinelt committed Dec 2, 2025 at 23:08 UTC 655f26267913d62d376a88853d2834c46e2adf31
1 file changed +1 -2
builders/common/nix.nix
+1 -2
@@ -48,10 +48,9 @@
48 serviceConfig = {
49 ExecStart = lib.concatStringsSep " " [
50 (lib.getExe pkgs.findutils)
51 - "/tmp"
51 + "/nix/var/nix/builds"
52 "-maxdepth 1"
53 "-type d"
54 - "-iname \"nix-build-*\""
54 "-mtime +1" # days
55 "-exec rm -rf {} +"
56 ];