[Top][All Lists]

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

Re: guix pull avoidance

From: Ludovic Courtès
Subject: Re: guix pull avoidance
Date: Mon, 29 Aug 2016 18:10:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Vincent Legoll <address@hidden> skribis:

> Hello,
>> How's the following totally untested, probably buggy patch ?
> After painful testing (I have to remove the .config/guix/latest symlink
> each time, make it point back to ~/guix_git with my modifications, and
> it recompiles a whole bunch of scm files...)
> Any idea how to improve that ?
>> it's in RFC, to show the intended effects...
> I fixed a few silly mistakes...
>> What's inside:
>> - create a symlink /gnu/store/latest pointing to the last installed
>> /gnu/store/*-guix-latest
> This is failing with :
> guix pull: error: symlink: Read-only file system: "/gnu/store/"

/gnu/store is read-only, except for guix-daemon, so ‘guix pull’ cannot
write to it.

> * I don't think I fully understand that, as the "->" in the mlet* for
> instance, I
> couldn't find explanations in guile's refman nor guix's...

  (mlet %store-monad ((x -> foo)) (bar))

is equivalent to:

  (let ((x foo)) (bar))


reply via email to

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