Kyle Andrews <[email protected]> writes:

> In my case I am hopeful there must be some way to extend the man and info
> paths when multiple profiles are activated, and maybe that would resolve
> my particular issue. I would love a suggestion to be placed in the
> cookbook about this.

Hello, you can merge search-paths from multiple profiles with:

--8<---------------cut here---------------start------------->8---
# Honor system-wide environment variables
source /etc/profile

# Merge search-paths from multiple profiles, the order matters.
eval "$(guix package --search-paths \
-p $HOME/.config/guix/profiles/a \
-p $HOME/.config/guix/profiles/b \
-p $HOME/.config/guix/current \
-p $HOME/.guix-profile \
-p /run/current-system/profile)"

# Prepend setuid programs.
export PATH=/run/setuid-programs:$PATH
--8<---------------cut here---------------end--------------->8---

As discussed in #20255 and #61358.

Reply via email to