[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Idea: when in a guix environment, have guix install packages by defa
From: |
raingloom |
Subject: |
Re: Idea: when in a guix environment, have guix install packages by default to that environment |
Date: |
Fri, 16 Apr 2021 18:56:19 +0200 |
On Fri, 16 Apr 2021 17:09:26 +0100
pkill9 <pkill9@runbox.com> wrote:
> darth-cheney asked in IRC if from inside a guix environment you would
> install the packages instead of pip/node, and maybe having guix
> install packages to current guix environment would be a good idea.
>
> Possible issue would be how to change the current guix environment to
> the new profile, without creating a nest of environments for every
> `guix install` or `guix package -i`.
>
You don't have to source the environment again if it was
source with GUIX_PROFILE defined.
I have some notes about this on my Gemini memex that go into more
detail:
gemini://blobpat.space/memex/guix.gem
http proxy in case you don't have a Gemini client at hand:
https://portal.mozz.us/gemini/blobpat.space/memex/guix.gem
You can also add things to your current environment with
source <(guix environment --search-paths bleep-bloop --ad-hoc whatever)