From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: The future of 'guix environment' Date: Thu, 31 Aug 2017 22:57:00 -0500 Message-ID: <87lglz2hrn.fsf@dustycloud.org> References: <87ziahytsq.fsf@member.fsf.org> <20170830155634.GB2248@jurong> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnd4r-00056e-Gy for guix-devel@gnu.org; Thu, 31 Aug 2017 23:57:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnd4o-0007Nv-Gq for guix-devel@gnu.org; Thu, 31 Aug 2017 23:57:05 -0400 Received: from dustycloud.org ([50.116.34.160]:54622) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnd4o-0007NN-CM for guix-devel@gnu.org; Thu, 31 Aug 2017 23:57:02 -0400 In-reply-to: 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: "Thompson, David" Cc: guix-devel Thompson, David writes: > Ricardo, you are correct that we would lose the ability to use the > guix.scm file for both 'guix environment' and 'guix build'. In > practice I don't actually use my guix.scm file this way, so I think > it's worth breaking, but maybe you (or someone else) actually uses > this and we should think more about it? I do use guix.scm for testing `guix build'. Maybe I ma the only one though. It turns out to be very useful to find out whether or not I've done something that borked my package that's not obvious because I have some compiled .go file around in working directory or something. > I wasn't very clear about whether ephemeral or cached would be the new > default. I don't think there is one default for all cases, I think > it's more context sensitive. I'm a bit confused by caching, but IMO maybe the right solution is actually guix environment for "environment profiles". Ie, I want to be able to update my guix environment and if it turns out I made a mistake easily roll back, just like I can with my user's profile. Currently you can use --root, but you don't have the generations support.