* bug#37387: reconfigure does not recreate ~/.guix-profile
@ 2019-09-11 23:43 Joshua Branson via Bug reports for GNU Guix
2019-09-12 9:05 ` Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: Joshua Branson via Bug reports for GNU Guix @ 2019-09-11 23:43 UTC (permalink / raw)
To: 37387
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#37387: reconfigure does not recreate ~/.guix-profile
2019-09-11 23:43 bug#37387: reconfigure does not recreate ~/.guix-profile Joshua Branson via Bug reports for GNU Guix
@ 2019-09-12 9:05 ` Ricardo Wurmus
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2019-09-12 9:05 UTC (permalink / raw)
To: Joshua Branson; +Cc: 37387-done
Hi Joshua,
> ;tldr guix system reconfigure does not create a ~/.guix-profile
This is not a bug.
“guix system reconfigure” will never create .guix-profile. That’s not
what it’s supposed to do.
~/.guix-profile is created when a profile is generated and installed,
i.e. when a user installs their first package.
--
Ricardo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-12 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-11 23:43 bug#37387: reconfigure does not recreate ~/.guix-profile Joshua Branson via Bug reports for GNU Guix
2019-09-12 9:05 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.