GNU bug report logs -
#37387
reconfigure does not recreate ~/.guix-profile
Previous Next
Reported by: Joshua Branson <jbranso <at> dismail.de>
Date: Wed, 11 Sep 2019 23:44:01 UTC
Severity: normal
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37387 in the body.
You can then email your comments to 37387 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#37387
; Package
guix
.
(Wed, 11 Sep 2019 23:44:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Joshua Branson <jbranso <at> dismail.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 11 Sep 2019 23:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Thu, 12 Sep 2019 09:06:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Joshua Branson <jbranso <at> dismail.de>
:
bug acknowledged by developer.
(Thu, 12 Sep 2019 09:06:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 37387-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 10 Oct 2019 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 200 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.