bug-guix
[Top][All Lists]
Advanced

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

Re: guix-package --roll-back


From: Ludovic Courtès
Subject: Re: guix-package --roll-back
Date: Tue, 01 Jan 2013 23:58:51 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>> It should be based on rename(2) to be atomic.  See the ‘switchLink’
>> function in Nix for how to do it.
>
> Could you elaborate? Should I call C from Guile?

No no, Scheme code can use ‘rename-file’, which calls rename(2).

Ludo’.



reply via email to

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