guix-devel
[Top][All Lists]
Advanced

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

Re: Named environments


From: Pjotr Prins
Subject: Re: Named environments
Date: Tue, 14 Sep 2021 11:58:48 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Tue, Sep 14, 2021 at 08:27:10AM +0200, Lars-Dominik Braun wrote:
> Hi,
> 
> > - Profiles don't seem to have certain desirable features that Guix 
> > environments do, such as pure execution, containerization with or without 
> > access to network or certain parts of the filesystem, etc. Maybe my 
> > understanding here is superficial and you can actually do this with 
> > profiles after all?
> you can actually start a `guix environment` from an existing profile
> using the -p switch and enjoy all of `guix environment`’s advantages
> already.

Yes, even with manifests. Typical is to create a profile -p
~/opt/emacs that contains all my loved emacs extensions or, ruby 2.6
with some libs

  guix package -i ruby@2.6.x ruby-xml ruby-sinatra -p ~/opt/ruby2.6

and

  guix pull -p ~/opt/guix-latest 
  
is another favourite now.

Pj.



reply via email to

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