unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Idea: when in a guix environment, have guix install packages by default to that environment
@ 2021-04-16 16:09 pkill9
  2021-04-16 16:56 ` raingloom
  2021-04-16 17:33 ` Arun Isaac
  0 siblings, 2 replies; 3+ messages in thread
From: pkill9 @ 2021-04-16 16:09 UTC (permalink / raw)
  To: guix-devel@gnu.org

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`.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Idea: when in a guix environment, have guix install packages by default to that environment
  2021-04-16 16:09 Idea: when in a guix environment, have guix install packages by default to that environment pkill9
@ 2021-04-16 16:56 ` raingloom
  2021-04-16 17:33 ` Arun Isaac
  1 sibling, 0 replies; 3+ messages in thread
From: raingloom @ 2021-04-16 16:56 UTC (permalink / raw)
  To: pkill9; +Cc: guix-devel@gnu.org

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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Idea: when in a guix environment, have guix install packages by default to that environment
  2021-04-16 16:09 Idea: when in a guix environment, have guix install packages by default to that environment pkill9
  2021-04-16 16:56 ` raingloom
@ 2021-04-16 17:33 ` Arun Isaac
  1 sibling, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2021-04-16 17:33 UTC (permalink / raw)
  To: pkill9, guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]


Hi,

This could be trouble. Sometimes, when I'm hacking on Guix in an
environment created using `guix environment guix`, I install a package
to my main user profile using `./pre-inst-env guix install ...`. The
behaviour you suggest would interfere with this.

Regards,
Arun

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-16 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 16:09 Idea: when in a guix environment, have guix install packages by default to that environment pkill9
2021-04-16 16:56 ` raingloom
2021-04-16 17:33 ` Arun Isaac

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).