bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15890: Please provide a way to delete old build directories.


From: Ludovic Courtès
Subject: bug#15890: Please provide a way to delete old build directories.
Date: Tue, 10 Dec 2013 22:58:51 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

John Darrington <address@hidden> skribis:

> When packages are built using guix build --keep-failed the build directories
> are created in /tmp/nix* (as they should be).
>
> But it is impossible to delete these directories without special priviliges.
> The user who called guix build --keep-failed cannot delete them because they
> are owned by guix-builder
>
> Can we please either:
>
> 1. Have a command (or option to guix gc) to remove them ; OR
>
> 2. Arrange for the ownership of such directories to be changed to the calling 
> user, 
>    after the build has finished.

I agree.  I would go for solution #2.

(Note that this will have to be submitted to the Nix project, since the
C++ code under nix/ is imported from there.)

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]