all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Packages don't get installed in the correct path
@ 2021-03-16 20:31 Garjola Dindi
  2021-03-17  6:51 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 6+ messages in thread
From: Garjola Dindi @ 2021-03-16 20:31 UTC (permalink / raw)
  To: help-guix

Hi,

I have installed the Guix package manager on Debian stable using the
instructions in the manual:

,----[ elisp ]
| (info "guix#Binary Installation")
`----

I have added the following to my ~/.basrhc as indicated in the manual:

,----[ bash ]
| export PATH="/home/garjola/.config/guix/current/bin${PATH:+:}$PATH"
| export GUIX_PROFILE="$HOME/.guix-profile"
| export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
| source "$HOME/.guix-profile/etc/profile"
`----

When I install a package, I get the following message:
,----
| hint: Consider setting the necessary environment variables by running:
| 
|      GUIX_PROFILE="/var/guix/profiles/per-user/garjola/guix-profile"
|      . "$GUIX_PROFILE/etc/profile"
| 
| Alternately, see `guix package --search-paths -p
| "/var/guix/profiles/per-user/garjola/guix-profile"'.
`----

Note that the message makes reference to /var/..../per-user/ instead of
~/.config/guix/current. Is that correct?

Actually, despite the configuration in .bashrc, the packages do not get
installed in the $HOME tree, but in /var/..../per-user/. The $HOME tree
only contains the guix binaries:

,----[ bash ]
| $ ls ${HOME}/.config/guix/current/bin
| guix  guix-daemon
`----

The most annoying thing is that the programs are not in the path, but
what puzzles me is that I don't understand this behaviour.

I can of course change the environment vars in .bashrc to point to /var,
but this is not what the manual says.

Can anybody help me figure things out?

Thanks in advance.

Garjola

-- 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-17 13:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16 20:31 Packages don't get installed in the correct path Garjola Dindi
2021-03-17  6:51 ` Tobias Geerinckx-Rice
2021-03-17  7:31   ` Garjola Dindi
2021-03-17  7:49     ` Ricardo Wurmus
2021-03-17  9:25       ` Garjola Dindi
2021-03-17 13:22         ` Garjola Dindi

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.