help-guix
[Top][All Lists]
Advanced

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

Re: Creating environments using Guix package manager


From: Zelphir Kaltstahl
Subject: Re: Creating environments using Guix package manager
Date: Sun, 7 Jun 2020 15:27:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Icedove/60.9.0

Hi Julien!

Yes, I did see this before, but it is not a self-contained tutorial. For
example:

*
https://guix.gnu.org/cookbook/en/html_node/Basic-setup-with-manifests.html
states how a manifest file should look like. Looks like Scheme code,
that's fine. But no `use-modules` or anything? Is this correct? And then
what is the file name? I named it `manifest.scm`. Is this correct?

* Quote: "We can create a manifest specification per profile and install
them this way: […]" – A few questions come up immediately:

1. Is this literally, what I type into a terminal emulator?

2. Or does this go into my `.profile`?

3. Does `.guix-extra-profiles` already need to exist?

4. Did I do something wrong with my Guix installation, if it does not
exist yet?

5. Do I need to input those 4 lines every time to create an environment?

All these things need clarification and make me unsure about whether I
am doing anything correctly.

Silly me forgot to mention, that I installed Guix package manager on a
foreign distro (Trisquel 8), not using it in a Guix distro.

I'll try to go with best guesses and see how it goes. Thanks so far!

Regards,
Zelphir

On 07.06.20 14:37, Julien Lepiller wrote:
> Le 7 juin 2020 08:28:16 GMT-04:00, Zelphir Kaltstahl 
> <zelphirkaltstahl@posteo.de> a écrit :
>> Hi Guix Users!
>>
>> For some time now I would like to create Guix environments for separate
>> projects.
>>
>> I've tried finding the way to do it at
>> https://guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html
>> but have been unable to read out of it, how to do it.
>>
> Have you read 
> http://guix.gnu.org/cookbook/en/html_node/Guix-Profiles-in-Practice.html#Guix-Profiles-in-Practice
>  yet? I think it's relevant to what you want to do (a persistant env is a 
> profile).



reply via email to

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