bug-guix
[Top][All Lists]
Advanced

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

bug#36375: [PATCH] Re: ‘guix package’ should lock the profile


From: Julien Lepiller
Subject: bug#36375: [PATCH] Re: ‘guix package’ should lock the profile
Date: Sat, 26 Oct 2019 00:08:06 +0200

Le Fri, 25 Oct 2019 23:21:34 +0200,
Ludovic Courtès <address@hidden> a écrit :
> 
> I’d recommend wrapping the body in ‘with-file-lock’ (from (guix build
> syscalls)), which handles non-local exits.
> 
> However you’d first need to add a #:wait? argument to ‘with-file-lock’
> and perhaps an additional argument to handle the already-locked case.
> Or maybe call that ‘with-file-lock/no-wait’.
> 
> How does that sound?
> 
> Thanks for working on it!
> 
> Ludo’.

Thanks! here is a new patch with your suggestions.

Attachment: 0001-guix-package-lock-profiles-when-processing-them.patch
Description: Text Data


reply via email to

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