emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#37387: closed (reconfigure does not recreate ~/.gu


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#37387: closed (reconfigure does not recreate ~/.guix-profile)
Date: Thu, 12 Sep 2019 09:06:02 +0000

Your message dated Thu, 12 Sep 2019 11:05:10 +0200
with message-id <address@hidden>
and subject line Re: bug#37387: reconfigure does not recreate ~/.guix-profile
has caused the debbugs.gnu.org bug report #37387,
regarding reconfigure does not recreate ~/.guix-profile
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
37387: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37387
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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
 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




--- End Message ---
--- Begin Message --- Subject: Re: bug#37387: reconfigure does not recreate ~/.guix-profile Date: Thu, 12 Sep 2019 11:05:10 +0200 User-agent: mu4e 1.2.0; emacs 26.2
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



--- End Message ---

reply via email to

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