unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Need of daemon for "guix package" subcommands
@ 2013-06-13 17:14 Andreas Enge
  2013-06-13 20:30 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2013-06-13 17:14 UTC (permalink / raw)
  To: bug-guix

I noticed that
   guix package --roll-back
does not work without a daemon running. Could this be changed?
   guix package -I
does not need the daemon.

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Need of daemon for "guix package" subcommands
  2013-06-13 17:14 Need of daemon for "guix package" subcommands Andreas Enge
@ 2013-06-13 20:30 ` Ludovic Courtès
  2013-06-13 21:02   ` Andreas Enge
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-06-13 20:30 UTC (permalink / raw)
  To: Andreas Enge; +Cc: bug-guix

Andreas Enge <andreas@enge.fr> skribis:

> I noticed that
>    guix package --roll-back
> does not work without a daemon running. Could this be changed?

In theory yes, but in practice that’d require twisting the code for what
looks to me like an easily worked around corner case.

How strongly do you feel about it?

Lazy Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Need of daemon for "guix package" subcommands
  2013-06-13 20:30 ` Ludovic Courtès
@ 2013-06-13 21:02   ` Andreas Enge
  2013-06-14 12:13     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2013-06-13 21:02 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: bug-guix

Am Donnerstag, 13. Juni 2013 schrieb Ludovic Courtès:
> Andreas Enge <andreas@enge.fr> skribis:
> > I noticed that
> >    guix package --roll-back
> > does not work without a daemon running. Could this be changed?
> 
> In theory yes, but in practice that’d require twisting the code for what
> looks to me like an easily worked around corner case.
> 
> How strongly do you feel about it?

I can always do it by hand by changing symlinks, so it is not absolutely 
necessary.

The reason I needed to do it is that I was in a situation where the daemon 
was compiled with the glibc from guix and did not work. So I wanted to 
uninstall glibc, but --roll-back did not work. (Maybe -r would have 
worked?)

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Need of daemon for "guix package" subcommands
  2013-06-13 21:02   ` Andreas Enge
@ 2013-06-14 12:13     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-06-14 12:13 UTC (permalink / raw)
  To: Andreas Enge; +Cc: bug-guix

Andreas Enge <andreas@enge.fr> skribis:

> Am Donnerstag, 13. Juni 2013 schrieb Ludovic Courtès:
>> Andreas Enge <andreas@enge.fr> skribis:
>> > I noticed that
>> >    guix package --roll-back
>> > does not work without a daemon running. Could this be changed?
>> 
>> In theory yes, but in practice that’d require twisting the code for what
>> looks to me like an easily worked around corner case.
>> 
>> How strongly do you feel about it?
>
> I can always do it by hand by changing symlinks, so it is not absolutely 
> necessary.
>
> The reason I needed to do it is that I was in a situation where the daemon 
> was compiled with the glibc from guix and did not work.

Oh, weird.  (FWIW it works for me.)

> So I wanted to uninstall glibc, but --roll-back did not work. (Maybe
> -r would have worked?)

‘-r’ builds a derivation that produces the new profile, so it needs to
talk to the daemon.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-14 12:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 17:14 Need of daemon for "guix package" subcommands Andreas Enge
2013-06-13 20:30 ` Ludovic Courtès
2013-06-13 21:02   ` Andreas Enge
2013-06-14 12:13     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).