unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Lars-Dominik Braun <lars@6xq.net>
Cc: guix-devel@gnu.org
Subject: Re: Named environments
Date: Tue, 14 Sep 2021 11:58:48 +0200	[thread overview]
Message-ID: <20210914095848.5ia4ygmxpo4x7hze@thebird.nl> (raw)
In-Reply-To: <YUBAvqCIouPzo9ug@noor.fritz.box>

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	other threads:[~2021-09-14  9:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10 23:06 Named environments Ryan Prior
2021-09-11  8:59 ` Domagoj Stolfa
2021-09-12 19:33 ` Sarah Morgensen
2021-09-13  8:08   ` zimoun
2021-10-06 13:29   ` Ludovic Courtès
2021-09-13 15:48 ` pinoaffe
2021-09-14  2:32   ` Ryan Prior
2021-09-14  6:27     ` Lars-Dominik Braun
2021-09-14  9:58       ` Pjotr Prins [this message]
2021-09-14  6:30     ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210914095848.5ia4ygmxpo4x7hze@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=guix-devel@gnu.org \
    --cc=lars@6xq.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).