unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Garjola Dindi <garjola@garjola.net>
To: help-guix@gnu.org
Subject: Packages don't get installed in the correct path
Date: Tue, 16 Mar 2021 21:31:16 +0100	[thread overview]
Message-ID: <87blbig7sb.fsf@pc-117-162.ovh.com> (raw)

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

-- 



             reply	other threads:[~2021-03-16 20:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16 20:31 Garjola Dindi [this message]
2021-03-17  6:51 ` Packages don't get installed in the correct path 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

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87blbig7sb.fsf@pc-117-162.ovh.com \
    --to=garjola@garjola.net \
    --cc=help-guix@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).