Re: guix package is slow

2018-07-09 Thread Oleg Pykhalov
George Clemmer writes: […] > If "M-x guix" is not widely used you might consider deleting it > altogether. I guess we couldn't count wide of usage. I use ‘M-x guix’ command. :-) Oleg. signature.asc Description: PGP signature

Re: guix package is slow

2018-07-09 Thread George Clemmer
Alex Kost writes: > "M-x guix" can't be an entry point for this or any other interface, it > is only for "guix" *shell* commands. Actually I'm very surprised > someone uses "M-x guix", I find it unpractical. Agreed. FWIW, when I am trying to find an emacs-guix command I type 'M-x guix-' and s

Re: guix package is slow

2018-07-08 Thread Maxim Cournoyer
Hello! Alex Kost writes: [...] >>> Another way in ‘M-x guix-all-packages’ or any ‘guix-search-by-*’: >>> >>> • Hit ‘i’ on not installed packages. >>> • Hit ‘d’ on installed package. >>> • Hit ‘x’ to apply. >> >> Thanks Oleg! I keep forgetting about this interface; > > he-he, it is only on

Re: guix package is slow

2018-07-03 Thread Ludovic Courtès
Alex Kost skribis: > "M-x guix" can't be an entry point for this or any other interface, it > is only for "guix" *shell* commands. Actually I'm very surprised > someone uses "M-x guix", I find it unpractical. I even plan to rename > it to "M-x guix-command", and to make "M-x guix" a real entry

Re: guix package is slow

2018-07-03 Thread swedebugia
On July 2, 2018 10:28:01 PM GMT+02:00, Alex Kost wrote: >Maxim Cournoyer (2018-07-02 10:55 -0400) wrote: > >> Hi, >> >> Oleg Pykhalov writes: >> >>> Hello, >>> >>> Pierre Neidhardt writes: >>> Maxim Cournoyer writes: >> - Perform transactions (install/remove) over multiple packa

Re: guix package is slow

2018-07-02 Thread Alex Kost
Pierre Neidhardt (2018-07-01 21:41 +0200) wrote: > Maxim Cournoyer 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?

Re: guix package is slow

2018-07-02 Thread Alex Kost
Maxim Cournoyer (2018-07-02 10:55 -0400) wrote: > Hi, > > Oleg Pykhalov writes: > >> Hello, >> >> Pierre Neidhardt writes: >> >>> Maxim Cournoyer writes: >>> > - Perform transactions (install/remove) over multiple packages. To be fair, I think you can already accomplish this using

Re: guix package is slow

2018-07-02 Thread Maxim Cournoyer
Hi! l...@gnu.org (Ludovic Courtès) writes: > Hello! > > Maxim Cournoyer skribis: > >> swedebu...@riseup.net writes: >> >>> Hi >>> >>> I would like guix package -A/s to be faster. >>> There it takes >3s every time I run the command. > > It’s at 1.5s for me on an SSD and a hot cache, but I agree t

Re: guix package is slow

2018-07-02 Thread Maxim Cournoyer
Hi, Oleg Pykhalov writes: > Hello, > > Pierre Neidhardt writes: > >> Maxim Cournoyer 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

Re: guix package is slow

2018-07-02 Thread Ludovic Courtès
Hello! Maxim Cournoyer skribis: > swedebu...@riseup.net writes: > >> Hi >> >> I would like guix package -A/s to be faster. >> There it takes >3s every time I run the command. It’s at 1.5s for me on an SSD and a hot cache, but I agree that overall it’s too slow. > I agree that Guix is rather sl

Re: guix package is slow

2018-07-01 Thread Oleg Pykhalov
Hello, Pierre Neidhardt writes: > Maxim Cournoyer 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 h

Re: guix package is slow

2018-07-01 Thread Pierre Neidhardt
Maxim Cournoyer writes: > --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 completion

Re: guix package is slow

2018-07-01 Thread Maxim Cournoyer
Hi Pierre, Pierre Neidhardt writes: > Maxim Cournoyer 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 kn

Re: guix package is slow

2018-07-01 Thread Pierre Neidhardt
Maxim Cournoyer 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. The point of the Helm interf

Re: guix package is slow

2018-07-01 Thread Maxim Cournoyer
Hello Pierre! Pierre Neidhardt writes: > Maxim Cournoyer 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*

Re: guix package is slow

2018-07-01 Thread Pierre Neidhardt
Maxim Cournoyer 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 pro

Re: guix package is slow

2018-07-01 Thread Maxim Cournoyer
Hello Pierre, Pierre Neidhardt writes: > I've implemented a rather trivial cache in `helm-system-packages' (an > Emacs package). > the cache is created (or refreshed if it's older than the > ~/.config/guix/current). > Cache generation takes a few seconds, but from then on everything is > instant

Re: guix package is slow

2018-07-01 Thread Maxim Cournoyer
Hello! swedebu...@riseup.net writes: > Hi > > I would like guix package -A/s to be faster. > There it takes >3s every time I run the command. I agree that Guix is rather slow when comparing it to traditional package managers such as apt; I think the main reason, as you found, is that it has to l

Re: guix package is slow

2018-06-30 Thread Pierre Neidhardt
I've implemented a rather trivial cache in `helm-system-packages' (an Emacs package). the cache is created (or refreshed if it's older than the ~/.config/guix/current). Cache generation takes a few seconds, but from then on everything is instantaneous. It does not support searching within descrip

guix package is slow

2018-06-30 Thread swedebugia
Hi I would like guix package -A/s to be faster. There it takes >3s every time I run the command. Would it be possible to populate an index or something when pulling so that we have the information in a sqlite-db instead of traversing 40 go-files with guile? On an older guixsd with about 4k packa