help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attempt to create a profile


From: 宋文武
Subject: Re: attempt to create a profile
Date: Tue, 14 Feb 2023 13:40:49 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Kyle Andrews <kyle@posteo.net> 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

[Prev in Thread] Current Thread [Next in Thread]