How do I remove profiles?

2020-02-04 Thread sirgazil
Hi, I've been playing with profiles after reading the "Guix Profiles in Practice" recipe¹ and created some that I don't really need. What would be the appropriate way to remove them so that nothing related to them is left around? For example, I have: $ guix package --list-profiles /home/sirgaz

Re: How can I replace Python venv and pip with Guix?

2020-02-04 Thread sirgazil
On Tue, 04 Feb 2020 09:02:36 -0500 Ricardo Wurmus wrote > > sirgazil writes: > > > • Once I deactivate this environment (Ctrl+D), how can I activate it again? > > It’s a matter of evaluating the etc/profile file that is generated for > every Guix profile. Since you passed

Re: How can I replace Python venv and pip with Guix?

2020-02-04 Thread sirgazil
On Tue, 04 Feb 2020 09:31:07 -0500 wrote > Hi sirgazil, > > > Well, the profile is created and persists, but, after deactivating the > > environment, how do I start an environment that uses that profile? > > > > If you just want to create a profile following a manifest file, j

Re: How can I replace Python venv and pip with Guix?

2020-02-04 Thread mlell
Hi sirgazil, Well, the profile is created and persists, but, after deactivating the environment, how do I start an environment that uses that profile? If you want to use the isolation features of `guix environment`, like running inside a container, you can just use the same command that you

Re: How can I replace Python venv and pip with Guix?

2020-02-04 Thread sirgazil
On Tue, 04 Feb 2020 02:59:25 -0500 Tanguy Le Carrour wrote > Hi, > > Le 02/02, sirgazil a écrit : > > I'm currently using two package managers when working on my projects > > written in Python. I use Guix to install Python, > > Depending on your OS, you can also use Pyenv [1][]

Re: How can I replace Python venv and pip with Guix?

2020-02-04 Thread Ricardo Wurmus
sirgazil writes: > • Once I deactivate this environment (Ctrl+D), how can I activate it again? It’s a matter of evaluating the etc/profile file that is generated for every Guix profile. Since you passed --root=/path/to/my-guix-envs/my-project to “guix environment” there will be a file

Re: How can I replace Python venv and pip with Guix?

2020-02-04 Thread sirgazil
On Tue, 04 Feb 2020 02:36:39 -0500 Moritz Lell wrote > Hello! Hi, Moritz. > > • Once I deactivate this environment (Ctrl+D), how can I activate it > >again? > > You've already achieved that, as far as I understand. Because you use the > --root option, the profile is registered

Re: How can I replace Python venv and pip with Guix?

2020-02-04 Thread Tanguy Le Carrour
Hi, Le 02/02, sirgazil a écrit : > I'm currently using two package managers when working on my projects > written in Python. I use Guix to install Python, Depending on your OS, you can also use Pyenv [1][] to install what ever version of Python you like. I haven't figured out how to package it fo