Alex Kost writes:
> Jan Nieuwenhuizen (2018-09-13 22:45 +0200) wrote:
>
>> (defun guix-switch-profile (&optional profile)
> Thank you! I'm going to apply it. I have extracted the guile code and
> put it to the "scheme side" of Emacs-Guix, also I have rewritten this
> command a bit. The only th
Pierre Neidhardt writes:
>> it works well in my preferred mode of operation where I
>> build everything locally and never use substitutes.
>
> Do substitutes change the way GC behaves? I use substitutes.
No. However, if you build everything locally, it becomes more important
to avoid deleting
Jan Nieuwenhuizen (2018-09-13 22:45 +0200) wrote:
> (defun guix-switch-profile (&optional profile)
> "Switch Emacs' environment to PROFILE. PROFILE can be a named
> profile (like ~/.guix-profile, ~/.config/guix/work) or an
> environment (like: echo $GUIX_ENVIRONMENT)."
>
> (interactive "fprof
Hi Pierre,
Pierre Neidhardt writes:
>> If, say, “coreutils” is live, then the corresponding “coreutils.drv”
>> will be considered live as well when you pass --gc-keep-derivations.
>
> Is the .drv live forever then? Even when all the corresponding outputs have
> been deleted from all profiles /
Ludovic Courtès writes:
>> (defun guix-switch-profile (&optional profile)
>> "Switch Emacs' environment to PROFILE. PROFILE can be a named
>> profile (like ~/.guix-profile, ~/.config/guix/work) or an
>> environment (like: echo $GUIX_ENVIRONMENT)."
snip
>> and where to put this?
>
> That LGTM!
Hi Georges,
Georges Dupéron skribis:
> Is it possible to export a .nar including the sources necessary to
> rebuild that package?
Not directly, but you could do something like:
guix archive --export -r hello $(guix build -S hello) > hello.nar
(Or even “guix build --sources=transitive hello”
Hello!
Jan Nieuwenhuizen skribis:
> Ludovic Courtès writes:
>
>> In all modesty ;-) I think the API is rather good:
>>
>> scheme@(guile-user)> ,use(guix profiles)
>> scheme@(guile-user)> (profile-search-paths "/home/ludo/.guix-profile")
>> $11 = ((#< variable: "PATH" files: ("bin" "sbin")
>> se
Pierre Neidhardt skribis:
>> Not yet! You could do it manually roughly by (1) listing the referrers
>> of the store item, recursively, and (2) finding the symlinks in
>> /var/guix/gcroots that point to one of these.
>
> In the example in my first message, the referrers of the .drv are either
> n