unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Lars-Dominik Braun <lars@6xq.net>, Pierre Neidhardt <mail@ambrevar.xyz>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>, pkill9 <pkill9@runbox.com>
Subject: Re: guix environment --profile with --ad-hoc
Date: Mon, 15 Mar 2021 10:25:17 +0100	[thread overview]
Message-ID: <86k0q8db0i.fsf@gmail.com> (raw)
In-Reply-To: <YExw345P3iUYm/23@noor.fritz.box>

Hi Lars.

On Sat, 13 Mar 2021 at 08:59, Lars-Dominik Braun <lars@6xq.net> wrote:

>> Instead, I'd like the following behaviour:
>> […]
> hm, I feel that’s unnecessarly complex with lots of if’s and else’s. If
> I could design the frontend from scratch, I’d have one command that does
> profile/environment manipulation (because they’re essentially the same)
> and one that can set them up for use. In that world you’d do
>
> $ guix environment $(guix profile -m manifest.scm -i additional-package)

For the record, such command (as “profile manager”) had been discussed,
for example:

<https://lists.gnu.org/archive/html/guix-devel/2019-10/msg00613.html>
<https://lists.gnu.org/archive/html/guix-devel/2019-11/msg00019.html>
<https://lists.gnu.org/archive/html/guix-devel/2020-04/msg00477.html>


Note that the (still experimental and) undocumented GUIX_EXTENSIONS_PATH
allows to test new commands design without writing them in stone.
Basically, set the variable GUIX_EXTENSIONS_PATH to the path containing
the Guix module ’(guix extensions profile)’ then “guix help” should list
the extension and “guix profile” should work.


Cheers,
simon


  parent reply	other threads:[~2021-03-15  9:35 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
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 [this message]
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=86k0q8db0i.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=lars@6xq.net \
    --cc=mail@ambrevar.xyz \
    --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).