From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OPEJJ9Ibq15xdwAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 18:41:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8NgoDtwbq14JZwAAbx9fmQ (envelope-from ) for ; Thu, 30 Apr 2020 18:41:32 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 68BEE941C9A for ; Thu, 30 Apr 2020 18:41:30 +0000 (UTC) Received: from localhost ([::1]:50654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUE7m-00010x-Cz for larch@yhetil.org; Thu, 30 Apr 2020 14:41:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37102) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUDjp-00033d-93 for bug-guix@gnu.org; Thu, 30 Apr 2020 14:16:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUDj9-0005k5-FB for bug-guix@gnu.org; Thu, 30 Apr 2020 14:16:45 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUDj9-0005jl-0B for bug-guix@gnu.org; Thu, 30 Apr 2020 14:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUDj8-0000eX-Rz for bug-guix@gnu.org; Thu, 30 Apr 2020 14:16:02 -0400 Subject: bug#40985: building profile with 1 package Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 30 Apr 2020 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alexandru-Sergiu Marton Mail-Followup-To: 40985@debbugs.gnu.org, leo@famulari.name, brown121407@member.fsf.org Received: via spool by 40985-done@debbugs.gnu.org id=D40985.15882705512477 (code D ref 40985); Thu, 30 Apr 2020 18:16:02 +0000 Received: (at 40985-done) by debbugs.gnu.org; 30 Apr 2020 18:15:51 +0000 Received: from localhost ([127.0.0.1]:47659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUDix-0000ds-89 for submit@debbugs.gnu.org; Thu, 30 Apr 2020 14:15:51 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUDiu-0000dd-Ue for 40985-done@debbugs.gnu.org; Thu, 30 Apr 2020 14:15:49 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 949525C009C; Thu, 30 Apr 2020 14:15:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 30 Apr 2020 14:15:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=0sbuhfqlh/qz8YAgmijmMPsN 4Z0mTTXFtBh2iHlRGhw=; b=nDN9Qw1pgl+d3wyzE9j5Z1kgOWbJXyBrgtU8rYdY WS7wyW8jRaQoRl7L3fNBguKEWj++riQDVoV1+69zNLh86beLkkt5fN9DK/QbHnDl 2tvmfv2bamX1JUEbQ5yBiYVwephyPvKYpWsF1VVnEOgPsfe8EJ4CJRhHaSK6KwmO +Z8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=0sbuhf qlh/qz8YAgmijmMPsN4Z0mTTXFtBh2iHlRGhw=; b=ULmR9pD2i6ALYKDzuO4Mf0 aDWt//HWrPA/RjAkEooSRjnpvhI9vs0cQ+M69d5gnk06spVDk7UM+i6HrlSzpt1N p+qqmVcHN3zdDlvMA3hcu7xm1zDQtp0DJTmVIBvvkVwizs5RVgktarR0ld1TIGB3 ho//cc/D6vnnxqaCGiYTr7glXuuctAqmx7UbdhdFTZFMZANR5JexoXPhMcsYyJzo oVUeyU9Zm4xeL/LuPRtVmDriL1/EFhffGkJW7bgKdGRJlFDasYevbOKgkyak62v3 BJmiOg8tzd580YqO2zebPhBKmtg9ZiWs7AW/fti331Htr6hqpmoGVxe3D5kGfWWg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrieehgdduvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueekkedtffdvtddugeejgedtvefhue efiedvjeeitdeigedtveejvdejheffvefgnecukfhppeejiedruddvgedrudefkedrieef necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvoh esfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id BB67E328005A; Thu, 30 Apr 2020 14:15:42 -0400 (EDT) Date: Thu, 30 Apr 2020 14:15:40 -0400 From: Leo Famulari Message-ID: <20200430181540.GA28119@jasmine.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 40985-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -0.01 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=famulari.name header.s=mesmtp header.b=nDN9Qw1p; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm2 header.b=ULmR9pD2; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-0.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49425448480045]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[famulari.name:s=mesmtp,messagingengine.com:s=fm2]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[famulari.name:-,messagingengine.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[76.124.138.63:received]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[leo@famulari.name,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[famulari.name]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; RCVD_COUNT_SEVEN(0.00)[11]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: pDuy0/JnjO9n On Thu, Apr 30, 2020 at 07:53:21PM +0300, Alexandru-Sergiu Marton wrote: > For more than a week now, whenever I do a guix pull, it tells me it's > building a profile with 1 package. If I do other operations, such as > removing a package, it displays the number of packages installed in my > profile correctly (180-ish). > > Here's the bit that it's outputting at the end of guix pull: > > building CA certificate bundle... > building fonts directory... > building directory of Info manuals... > building profile with 1 package... > building /gnu/store/1lbks2qii5fdwigln34yd4cpvg5gxk7i-inferior-script.scm.drv... > building package cache... > building profile with 1 package... > > I'm confused by this behaviour. It has not changed in the last two > `guix system reconfigure`s I did. Guix can manage multiple profiles, each with their own history, and that is what's happening here. By default, there are two profiles: the one that deals with Guix itself, and the one that contains your installed packages. `guix pull` uses the former, found at '~/.config/guix/current'. You can interact with this profile using the '--profile' argument to `guix package`. For example: ------ $ guix package --profile=$HOME/.config/guix/current --list-generations Generation 115 Mar 27 2020 03:05:01 guix 260eae7 out /gnu/store/ynihdaa8ripvrw2mzxdslhl3av938jpp-guix-260eae789 [...] $ guix package --profile=$HOME/.config/guix/current --switch-generation=115 switched from generation 121 to 115 ------ On the other hand, when you install packages, Guix uses the default profile, which is found at ~/.guix-profile.