From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Branson via Bug reports for GNU Guix Subject: bug#37387: reconfigure does not recreate ~/.guix-profile Date: Wed, 11 Sep 2019 19:43:12 -0400 Message-ID: <86mufa8kmn.fsf@dismail.de> Reply-To: Joshua Branson Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53099) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8CHL-0003l9-3w for bug-guix@gnu.org; Wed, 11 Sep 2019 19:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8CHK-0002Kx-61 for bug-guix@gnu.org; Wed, 11 Sep 2019 19:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8CHK-0002Kj-3I for bug-guix@gnu.org; Wed, 11 Sep 2019 19:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8CHJ-0007oT-VB for bug-guix@gnu.org; Wed, 11 Sep 2019 19:44:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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 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) 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) 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" To: 37387@debbugs.gnu.org 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