diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-11-11 17:13:20 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-11-11 23:53:29 +0100 |
commit | 652163154c06b47936a453f44ea35938789718de (patch) | |
tree | 99cfd45eb491c64b891182961261487d6a781e08 /tests/substitute.scm | |
parent | 9c001c07d4c483a4a6b7c7ff50b1119d3fd4b90f (diff) | |
download | guix-652163154c06b47936a453f44ea35938789718de.tar guix-652163154c06b47936a453f44ea35938789718de.tar.gz |
guix package: '--show' errors when asked for a non-existent package.
Fixes <https://bugs.gnu.org/33323>.
Reported by swedebugia <swedebugia@riseup.net>.
* guix/scripts/package.scm (process-query): Call 'leave' when
'find-packages-by-name' returns the empty list.
* tests/guix-package.sh: Test it.
Diffstat (limited to 'tests/substitute.scm')
0 files changed, 0 insertions, 0 deletions