Control: found 985916 1.2.0-3

On 2021-03-25, Diane Trout wrote:
> First off thank you for packaging guix for Debian.

Glad people are finding it useful. :)


> While I was trying to install some packages from guix I was confused that I
> couldn't find ones that were listed in my source checkout of guix.
>
> Eventually I figured out that I needed a new version of the guix binary than
> what was included in the Debian guix package, and that the most current guix
> binary lives in ~/.config/guix/current/bin.

After guix pull, it should instruct the user in what variables to set:

  hint: Consider setting the necessary environment variables by running:

       GUIX_PROFILE="/home/vagrant/.config/guix/current"
       . "$GUIX_PROFILE/etc/profile"

  Alternately, see `guix package --search-paths -p
  "/home/vagrant/.config/guix/current"'.


  hint: After setting `PATH', run `hash guix' to make sure your shell
  refers to
  `/home/vagrant/.config/guix/current/bin/guix'.


> I was wondering if the Debian guix binary should print a warning if there is a
> ~/.config/guix/current/bin/guix available, or maybe even be a wrapper that 
> runs
> that version instead of the shipped version.

I typically add a symlink from ~/bin/guix to point to
~/.config/guix/current/bin/guix, as default bash in Debian will prepend
this to PATH, and that's simpler than messing around with various
configuration files.

Not sure exactly what to write in the README.Debian, but that seems like
an appropriate place for it. Possibly references to ...

  https://guix.gnu.org/manual/en/html_node/Invoking-guix-pull.html
  https://guix.gnu.org/manual/en/html_node/Application-Setup.html

... might be worth adding, though parts of it are already handled in the
packaging (e.g. Recommends nscd).


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to