When a “nix-build -K” process finishes because of a build error, or because it was interrupted, it leaves a /tmp/nix-XXXX-XX' directory owned bynixbldX’. Therefore, this directory can only be removed by root. Thus, the file system holding `/tmp’ could quickly fill up.

One solution might be to “chown” the directory to the user who invoked `nix-build’.

Thanks,
Ludovic.

Submitted on 12 February 2008 at 09:57

Log in to post comments