diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-09-20 23:02:30 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-21 16:48:36 +0200 |
commit | 660dbe65641851aa99b810e4ae065a5f72dc37d0 (patch) | |
tree | 5fb36722e205ce363a8350b41ac4992d187786d3 /tests | |
parent | aeb51370da7c854e8167066df9b138e15d7363e6 (diff) | |
download | patches-660dbe65641851aa99b810e4ae065a5f72dc37d0.tar patches-660dbe65641851aa99b810e4ae065a5f72dc37d0.tar.gz |
guix package: '--show' ignores deprecated packages.
* guix/scripts/package.scm (process-query) <'show>: Remove superseded
packages.
* tests/guix-package-aliases.sh: Add test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-package-aliases.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/guix-package-aliases.sh b/tests/guix-package-aliases.sh index 9c038b99a5..4beed2e5b7 100644 --- a/tests/guix-package-aliases.sh +++ b/tests/guix-package-aliases.sh @@ -62,3 +62,6 @@ guix search '\<board\>' game | grep '^name: gnubg' guix show --version guix show guile guix show python@3 | grep "^name: python" + +# "python@2" exists but is deprecated; make sure it doesn't show up. +if guix show python@2; then false; else true; fi |