[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33323: guix package (--show & --search) missing error when package i
From: |
swedebugia |
Subject: |
bug#33323: guix package (--show & --search) missing error when package is not found |
Date: |
Thu, 8 Nov 2018 22:34:34 +0100 |
Hi
$ guix package --show=test
(no output)
Expected: error package test not found
+ you can help package it by reading the XX section in the manual
The relevant code begins on line 771 (in guix/scripts/package.scm):
(('show requested-name)
(let-values (((name version)
(package-name->name+version requested-name)))
(leave-on-EPIPE
(for-each (cute package->recutils <> (current-output-port))
(find-packages-by-name name version)))
#t))
Maybe we could catch this in the buttom of the procedure if the output
is null?
--
Cheers
Swedebugia
- bug#33323: guix package (--show & --search) missing error when package is not found,
swedebugia <=