ckage:
--8<---cut here---start----->8---
$ guix package --search=cargo
name: chromium-bsu
version: 0.9.16.1
outputs: out
systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux
dependencies: gettext-minimal@0.19.8.1 glu@9.0.0 pkg-config@0.29
Jelle Licht writes:
> Hello all,
>
> since d596fea5fd (gnu: Add ledger-agent), I believe that searching packages
> on the command line user either `guix package -s ' or `guix package
> --search=' is broken. I believe something is going wrong with the
> descripti
Fis Trivial writes:
> * Version
>
> $: guix pull
>
> Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Building from Git commit 6b681ddda0f965d4163fbeb4b34520c91bd01f5d...
> Guix already up to date
>
>
>
> * Error and b
Hello all,
since d596fea5fd (gnu: Add ledger-agent), I believe that searching packages
on the command line user either `guix package -s ' or `guix package
--search=' is broken. I believe something is going wrong with the
description field of the ledger-agent package, as I can see a
* Version
$: guix pull
Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from Git commit 6b681ddda0f965d4163fbeb4b34520c91bd01f5d...
Guix already up to date
* Error and backtrace:
$: guix package --search=mutt
Backtrace:
In guix/ui.scm:
>(if (or (and=> (package-synopsis package)
> (compose matches? gettext))
I came up with a different solution, which seems more readable. What
do you think? (If you want, I'll use your version.)
Nikita
From 0083eff18eb584213f55974807d4e0e6e29d3c73 Mon Sep 17 00:00:00 2001
Nikita Karetnikov skribis:
>> Instead, you can directly build the list of matching packages, like:
>
>> (fold-packages (lambda (package result)
>>(if (or (regexp-exec rx (package-synopsis package))
>>(regexp-exec rx (package-description package)))
> Instead, you can directly build the list of matching packages, like:
> (fold-packages (lambda (package result)
>(if (or (regexp-exec rx (package-synopsis package))
>(regexp-exec rx (package-description package)))
>(cons pa
Hi,
Nikita Karetnikov skribis:
> 1. 'psd-list' is a potential bottleneck. It will cause problems when we
>have more packages. If it's possible to evaluate it lazily, I'll
>rewrite it. (I haven't checked yet.)
See below.
[...]
> 4. I've noticed that 'fold-packages' returns duplicate
Hi,
I'm attaching the diff.
Some comments:
1. 'psd-list' is a potential bottleneck. It will cause problems when we
have more packages. If it's possible to evaluate it lazily, I'll
rewrite it. (I haven't checked yet.)
2. The above is valid for 'package?' too. Also, it's probably possib
Hi,
I've decided to let you know that I'm going to implement 'search'.
Nikita
pgpWFUUdym6z4.pgp
Description: PGP signature
11 matches
Mail list logo