all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joshua Branson via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 37387@debbugs.gnu.org
Subject: bug#37387: reconfigure does not recreate ~/.guix-profile
Date: Wed, 11 Sep 2019 19:43:12 -0400	[thread overview]
Message-ID: <86mufa8kmn.fsf@dismail.de> (raw)


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	other threads:[~2019-09-11 23:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 23:43 Joshua Branson via Bug reports for GNU Guix [this message]
2019-09-12  9:05 ` bug#37387: reconfigure does not recreate ~/.guix-profile Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86mufa8kmn.fsf@dismail.de \
    --to=bug-guix@gnu.org \
    --cc=37387@debbugs.gnu.org \
    --cc=jbranso@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.