From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 11 19:43:24 2019 Received: (at submit) by debbugs.gnu.org; 11 Sep 2019 23:43:24 +0000 Received: from localhost ([127.0.0.1]:42870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8CGi-0007n3-D7 for submit@debbugs.gnu.org; Wed, 11 Sep 2019 19:43:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:49878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8CGg-0007mt-4i for submit@debbugs.gnu.org; Wed, 11 Sep 2019 19:43:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52964) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8CGe-0003gr-Ri for bug-guix@gnu.org; Wed, 11 Sep 2019 19:43:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8CGd-00028n-LR for bug-guix@gnu.org; Wed, 11 Sep 2019 19:43:20 -0400 Received: from mx1.dismail.de ([78.46.223.134]:24677) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i8CGd-000289-48 for bug-guix@gnu.org; Wed, 11 Sep 2019 19:43:19 -0400 Received: from dismail.de (localhost [127.0.0.1]) by dismail.de (OpenSMTPD) with ESMTP id f819301b for ; Thu, 12 Sep 2019 01:43:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:subject; s=201701; bh=7Y7YlC9DqTNzuNag43Cm5F C4RvHKmRfkwFe+6hm8/2o=; b=mRSL7cl8SVBpdXuRnMH5POw1Ni/s4Mf6Mjfi6Z Q4hKI2y4XxgekcHWhMaZCDqjb5ATRBTD0+Td4mpIAZ94MPh6srWwJAZwTRIBefQU qrGynXk/xzQ7xj5xgPunZ4257sj+TirMhE/cUtaDNjRrUjDPrIIfq08WNYke0HLd klI4o= Received: from smtp2.dismail.de (10.240.26.12 [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id fecd1381 for ; Thu, 12 Sep 2019 01:43:14 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id ec5a3afd for ; Thu, 12 Sep 2019 01:43:14 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 7f5aeaad (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 12 Sep 2019 01:43:14 +0200 (CEST) Date: Wed, 11 Sep 2019 19:43:12 -0400 Message-Id: <86mufa8kmn.fsf@dismail.de> From: Joshua Branson To: bug-guix@gnu.org Subject: reconfigure does not recreate ~/.guix-profile X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 78.46.223.134 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hey guix, ;tldr guix system reconfigure does not create a ~/.guix-profile, if the file was deleted, nor does it change the symlink if the username changed. This seems like 2 tiny bugs. I recently installed guix on my Thinkpad T400. (Thanks by the way! Sway works wonderfully!) When I first created my user my user line looked like #+BEGIN_SRC scheme (user-account (name "Joshua Branson") (comment "Joshua Branson") (group "users") (home-directory "/home/joshua") (supplementary-groups '("wheel" "netdev" "audio" "video"))) #+END_SRC scheme Later I changed the user name to '(name "joshua")' and reconfigured. Guix was smart enough to create a new profile for me, but .guix-profile still pointed to user account "Joshua Branson" not "joshua". $ cd ~/; ls -lha .guix-profile .guix-profile -> /var/guix/profiles/per-user/Joshua Branson/guix-profile So I removed .guix-profile and reconfigured. $ rm ~/.guix-profile # sudo guix system reconfigure sway.scm I thought that guix is declarative, so it will recreate .guix-profile, but it did not. Thanks, Joshua From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 12 05:05:29 2019 Received: (at 37387-done) by debbugs.gnu.org; 12 Sep 2019 09:05:29 +0000 Received: from localhost ([127.0.0.1]:43057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8L2e-000282-Ni for submit@debbugs.gnu.org; Thu, 12 Sep 2019 05:05:28 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8L2b-00027o-4D for 37387-done@debbugs.gnu.org; Thu, 12 Sep 2019 05:05:27 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1568279115; cv=none; d=zoho.com; s=zohoarc; b=ZHNnQDjjhCbUcizs6fN5DvzFnUu/YyYmG9XQ9QXjHhkleSdHTs5H2Gyim02O9oelOR4U4UeyzJj7ZbNuxQs7BIPLOz6Yoz25wvF+ZJOmR/UpW9rxD0LZW8kYuj84ASXtIreTFQvHGxY2gxvz+hGOpDZL8hmnciOTzND17rNEdds= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568279115; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=pKkiXM6x0FZu8rVbk4ED7dxOCdvHrp/cuJbq2XxJXfw=; b=mh22ydbX0oGJg1cfYi6O7EcSaF8cOqLJBcyPSoI9GMbe2gXeuQyNlRbpf09V5uJ5zk3Coc1I/PzDvirK8U34Muefa7IKwlvgeR4LhTefDOZQ3dJyu10wwG2NxtQeTuFHn2131DWeSV0Dvr4WJXTt5brGKquwz7CZoOFy3Z0gTQA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1568279115; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=380; bh=pKkiXM6x0FZu8rVbk4ED7dxOCdvHrp/cuJbq2XxJXfw=; b=DVS/J+Mgl57fJiYnrMlv1i8ujhRNX1lgLbno9KxEpRI1eHd7hIR+niPPn+qtfX/U Bo+aUIHTEGnCLQqghMRQBMf/ujIueK/sVEWvkZ2YWan1arZwd8Z0nB4Wd56VnCYNWLD Insl6OJGTc0TiST0K2/piKSEKCCUzbVLtaGYBqMI= Received: from localhost (p54AD4C5D.dip0.t-ipconnect.de [84.173.76.93]) by mx.zohomail.com with SMTPS id 1568279114184198.6266877573512; Thu, 12 Sep 2019 02:05:14 -0700 (PDT) References: <86mufa8kmn.fsf@dismail.de> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: Joshua Branson Subject: Re: bug#37387: reconfigure does not recreate ~/.guix-profile In-reply-to: <86mufa8kmn.fsf@dismail.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 12 Sep 2019 11:05:10 +0200 Message-ID: <87k1adq3zt.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37387-done Cc: 37387-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Joshua, > ;tldr guix system reconfigure does not create a ~/.guix-profile This is not a bug. =E2=80=9Cguix system reconfigure=E2=80=9D will never create .guix-profile. = That=E2=80=99s not what it=E2=80=99s supposed to do. ~/.guix-profile is created when a profile is generated and installed, i.e. when a user installs their first package. --=20 Ricardo From unknown Fri Jun 13 10:57:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Oct 2019 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator