From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Don't delete Nix packages Date: Sat, 15 Jun 2013 15:11:24 +0200 Message-ID: <87ppvna58j.fsf@gnu.org> References: <87li6cdzgb.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnqLD-0002TC-Nf for bug-guix@gnu.org; Sat, 15 Jun 2013 09:16:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnqLC-0008Hn-R1 for bug-guix@gnu.org; Sat, 15 Jun 2013 09:16:27 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:39667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnqLC-0008Hj-LF for bug-guix@gnu.org; Sat, 15 Jun 2013 09:16:26 -0400 In-Reply-To: <87li6cdzgb.fsf@karetnikov.org> (Nikita Karetnikov's message of "Sat, 15 Jun 2013 03:50:28 +0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Nikita Karetnikov 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=E2=80=99.