From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: delete profile Date: Tue, 14 Mar 2017 15:18:44 +0000 Message-ID: <20170314151844.GB15269@mail.thebird.nl> References: <87y3waqua6.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> <877f3t9dgj.fsf@gmail.com> <20170314055518.GA12348@mail.thebird.nl> <87pohkaq57.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnoHS-0004r8-Cx for guix-devel@gnu.org; Tue, 14 Mar 2017 11:22:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnoHO-0002Ti-FB for guix-devel@gnu.org; Tue, 14 Mar 2017 11:22:34 -0400 Received: from mail.thebird.nl ([95.154.246.10]:41304) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cnoHO-0002TD-8s for guix-devel@gnu.org; Tue, 14 Mar 2017 11:22:30 -0400 Content-Disposition: inline In-Reply-To: <87pohkaq57.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alex Kost Cc: guix-devel@gnu.org, Federico Beffa On Tue, Mar 14, 2017 at 05:28:52PM +0300, Alex Kost wrote: > No, "$HOME/guix-test-profile" was not a symlink to > "/var/guix/profiles/...". Try this: Hmmm. You are right. ~/.guix-profile, meanwile, does point inside /var/guix. I have wondered before how GC works on profiles not in /var/guix. Where does it store that state? In the database? I mean, if I simply remove the symlink lrwxrwxrwx 1 wrk 502 51 Feb 19 09:38 guix-build-system-1-link -> /gnu/store/0lyv2p35ziymd6xjrfxy8sp502n2ii5d-profile how does Guix know it can GC /gnu/store/0lyv2p35ziymd6xjrfxy8sp502n2ii5d-profile? Pj.