Skip to content

Commit 655f262

Browse files
committed
builders: update build-dir for stale build pruning script
1 parent 52d7f95 commit 655f262

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

builders/common/nix.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@
4848
serviceConfig = {
4949
ExecStart = lib.concatStringsSep " " [
5050
(lib.getExe pkgs.findutils)
51-
"/tmp"
51+
"/nix/var/nix/builds"
5252
"-maxdepth 1"
5353
"-type d"
54-
"-iname \"nix-build-*\""
5554
"-mtime +1" # days
5655
"-exec rm -rf {} +"
5756
];

0 commit comments

Comments
 (0)