[Top][All Lists]

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

Re: guix pull avoidance

From: Vincent Legoll
Subject: Re: guix pull avoidance
Date: Tue, 23 Aug 2016 15:13:57 +0200


On Tue, Aug 23, 2016 at 10:39 AM, Vincent Legoll
<address@hidden> wrote:
> On Mon, Aug 22, 2016 at 8:01 PM, Leo Famulari <address@hidden> wrote:
>> On Mon, Aug 22, 2016 at 04:34:41PM +0200, Vincent Legoll wrote:
>>> when one does guix pull, it is done only for that user, another one
>>> doing it subsequently (or at the same time) is going to download
>>> and compile the whole (identical) thing again, is it possible to switch
>>> a user to a previously dl'ed revision, like just changing a symlink in
>>> ~/.guix-profile to point to /gnu/store/*-guix-latest, or something like
>>> that ?
>> The 2nd user who does `guix pull` will not recompile if nothing has
>> changed.
> Sorry, I wasn't being clear enough, I also want to avoid download.
>> You can change which Guix you use by changing what the symlink at
>> '~/.config/guix/latest' points to.
> OK thanks that's what I wanted to know

How's the following totally untested, probably buggy patch ?

it's in RFC, to show the intended effects...

What's inside:

- create a symlink /gnu/store/latest pointing to the last installed
- make ~/.config/guix/latest point to that, if --nodownload option is given...


Vincent Legoll

Attachment: 0001-Add-nodownload-CLI-option.patch
Description: Text Data

reply via email to

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