[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37387: reconfigure does not recreate ~/.guix-profile

From: Joshua Branson
Subject: bug#37387: reconfigure does not recreate ~/.guix-profile
Date: Wed, 11 Sep 2019 19:43:12 -0400

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

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
          (name "Joshua Branson")
          (comment "Joshua Branson")
          (group "users")
          (home-directory "/home/joshua")
           '("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

$ 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]