unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Don't delete Nix packages
@ 2013-06-14 23:50 Nikita Karetnikov
  2013-06-15 13:11 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Nikita Karetnikov @ 2013-06-14 23:50 UTC (permalink / raw)
  To: bug-guix

[-- Attachment #1: Type: text/plain, Size: 110 bytes --]

'guix gc -C' will delete all packages that were installed using Nix.  Is
there a way to change this behavior?

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: Don't delete Nix packages
  2013-06-14 23:50 Don't delete Nix packages Nikita Karetnikov
@ 2013-06-15 13:11 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2013-06-15 13:11 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: bug-guix

Nikita Karetnikov <nikita@karetnikov.org> skribis:

> 'guix gc -C' will delete all packages that were installed using Nix.  Is
> there a way to change this behavior?

The GC does not make any difference between Guix and Nix.  It deletes
anything that is no longer referenced from a GC root.

If Guix and Nix were configured with the same --localstatedir (info
"(guix) Requirements"), then their GC roots are in the same place and
everything works fine.

Could it be that you used different --localstatedir values?

Ludo’.

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

end of thread, other threads:[~2013-06-15 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-14 23:50 Don't delete Nix packages Nikita Karetnikov
2013-06-15 13:11 ` 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).