unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <ambrevar@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guix package is slow
Date: Sun, 01 Jul 2018 20:50:22 +0200	[thread overview]
Message-ID: <87r2km4wpd.fsf@gmail.com> (raw)
In-Reply-To: <87tvpjug0a.fsf@gmail.com>

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


Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Could you elaborate on how you create and then use such cache?

It's very dumb, really: it just drops the output of `guix package
--search "."` to a file :D

> Is it useful when used inside Emacs only, say in a *shell* buffer?

Well, you can use `recsel' or any text processing tool over it, but
beside that, not much I'm afraid.

> If so, what does it bring over using emacs-guix, which caches in memory
> the package definitions?

In terms of caching, nothing, but the Helm interface has some
significant perks over emacs-guix:

- Perform transactions (install/remove) over multiple packages.

- Perform actions over multiple packages: browse home-page, show
(reverse) deps, find-files (with helm-find-files -- awesome! :p).

That's about it.  It's much more basic than emacs-guix but convenient
enough that I still find some use for it :)

That said, this `helm-system-packages-guix.el` was mostly a proof of
concept, it's far from being as neat and complete as emacs-guix.
A proper Helm/Ivy interface for emacs-guix would be much better,
maybe some day.

--
Pierre Neidhardt

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

  reply	other threads:[~2018-07-01 18:50 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 [this message]
2018-07-01 19:33       ` Maxim Cournoyer
2018-07-01 19:41         ` Pierre Neidhardt
2018-07-01 20:18           ` Maxim Cournoyer
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=87r2km4wpd.fsf@gmail.com \
    --to=ambrevar@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=maxim.cournoyer@gmail.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).