unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guix package is slow
Date: Sun, 01 Jul 2018 16:18:30 -0400	[thread overview]
Message-ID: <87d0w6vhex.fsf@gmail.com> (raw)
In-Reply-To: <87muva4ube.fsf@gmail.com> (Pierre Neidhardt's message of "Sun, 01 Jul 2018 21:41:57 +0200")

Hi Pierre,

Pierre Neidhardt <ambrevar@gmail.com> writes:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>>> - Perform transactions (install/remove) over multiple packages.
>>
>> To be fair, I think you can already accomplish this using emacs-guix by
>> separating with commas multiple package names :).
>
> Can you explain?  I don't know how to do that.

Sure! It's briefly covered in the Emacs-Guix info manual, in the 'Popup
Interface' section:

--8<---------------cut here---------------start------------->8---
So ‘M-x guix’ command provides a top-level popup interface for all
available guix commands.  When you select an option, you’ll be prompted
for a value in the minibuffer.  Many values have completions, so don’t
hesitate to press ‘<TAB>’ key.  Multiple values (for example, packages
or lint checkers) should be separated by commas.
--8<---------------cut here---------------end--------------->8---

A concrete example would look like:

1. Start Emacs
2. M-x guix
3. p
4. =i
5. emacs-helm,emacs-ivy ENT

You can tab-complete any package names entered at step 5. above.

> The point of the Helm interface is that it allows to "batch select"
> multiple packages.  I don't think that emacs-guix can do that.

You are right, it doesn't scale like this; one would have to resort
using 'guix package -A=some-regexp', calling `guix package -i' on each
element.

> For instance, if I want to install all Emacs packages except, say,
> emacs-guix (haha! :p) then I would
>
> - M-x helm-system-packages
> - "emacs"
> - M-a
> - "emacs-guix"
> - C-space
> - <f2>
>
> In other words, it scales well with big loads of packages.

Neat! Thanks for sharing.

Maxim

  reply	other threads:[~2018-07-01 20:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-30 15:20 guix package is slow swedebugia
2018-06-30 15:25 ` Pierre Neidhardt
2018-07-01 15:34   ` Maxim Cournoyer
2018-07-01 18:50     ` Pierre Neidhardt
2018-07-01 19:33       ` Maxim Cournoyer
2018-07-01 19:41         ` Pierre Neidhardt
2018-07-01 20:18           ` Maxim Cournoyer [this message]
2018-07-01 20:32             ` Pierre Neidhardt
2018-07-02  1:04           ` Oleg Pykhalov
2018-07-02 14:55             ` Maxim Cournoyer
2018-07-02 20:28               ` Alex Kost
2018-07-03 17:06                 ` swedebugia
2018-07-03 19:39                 ` Ludovic Courtès
2018-07-08 16:05                 ` Maxim Cournoyer
2018-07-09 16:42                 ` George Clemmer
2018-07-10  2:45                   ` Oleg Pykhalov
2018-07-02 20:39           ` Alex Kost
2018-07-01 15:32 ` Maxim Cournoyer
2018-07-02 10:20   ` Ludovic Courtès
2018-07-02 15:48     ` Maxim Cournoyer
2018-07-02 13:36 ` ‘package-transitive-supported-systems’ " Ludovic Courtès

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=87d0w6vhex.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=ambrevar@gmail.com \
    --cc=guix-devel@gnu.org \
    /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).