unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Lars-Dominik Braun <lars@6xq.net>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>, pkill9 <pkill9@runbox.com>
Subject: Re: guix environment --profile with --ad-hoc
Date: Thu, 11 Mar 2021 21:04:14 +0100	[thread overview]
Message-ID: <87ft114fup.fsf@ambrevar.xyz> (raw)
In-Reply-To: <YEcxwhFuRTolDhiZ@noor.fritz.box>

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

I've just tried it: it's great, thanks a lot for pushing this! :)

My only complaint is that it's still a bit slow:

--8<---------------cut here---------------start------------->8---
time guix environment -C --profile=/my/profile -- exit

real	0m2.372s
--8<---------------cut here---------------end--------------->8---

Same without `-C`.

In comparison,

--8<---------------cut here---------------start------------->8---
time env -i $(which bash) --norc --noprofile -c 'source nyxt/etc/profile && exit'


real	0m0.004s
--8<---------------cut here---------------end--------------->8---

Is there anything we can do to speed this up?

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

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

  reply	other threads:[~2021-03-11 20:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09  2:05 guix environment --profile with --ad-hoc pkill9
2021-03-09  7:25 ` Lars-Dominik Braun
2021-03-09  8:20   ` Pierre Neidhardt
2021-03-09  8:28     ` Lars-Dominik Braun
2021-03-11 20:04       ` Pierre Neidhardt [this message]
2021-03-12  9:47         ` zimoun
2021-03-12  9:59           ` Pierre Neidhardt
2021-03-12 11:23             ` Ricardo Wurmus
2021-03-12 11:26               ` Pierre Neidhardt
2021-03-12 13:12               ` zimoun
2021-03-15 16:23               ` Ludovic Courtès
2021-03-12 10:42         ` Lars-Dominik Braun
2021-03-12 10:51           ` Pierre Neidhardt
2021-03-12 15:44       ` Pierre Neidhardt
2021-03-13  7:59         ` Lars-Dominik Braun
2021-03-13  8:55           ` Pierre Neidhardt
2021-03-15  9:25           ` zimoun
2021-03-10 10:04   ` pkill9

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=87ft114fup.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=guix-devel@gnu.org \
    --cc=lars@6xq.net \
    --cc=pkill9@runbox.com \
    /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).