aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2014-07-25 07:38:20 -0500
committerEric Bavier <bavier@member.fsf.org>2014-07-25 07:41:57 -0500
commit5e6feee61793a6b60aa352dcdbbed0155eb42e7f (patch)
tree23a5affe24bc04d663555484775bf5361f505233 /tests
parent7eade0ee035578d172e8812d1f06e25744308ac0 (diff)
downloadgnu-guix-5e6feee61793a6b60aa352dcdbbed0155eb42e7f.tar
gnu-guix-5e6feee61793a6b60aa352dcdbbed0155eb42e7f.tar.gz
guix: package: Fix recutils output for non-package inputs.
* guix/ui.scm (package->recutils)[dependencies]: Ignore non-package inputs. * tests/guix-package.sh: New test.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index 99debb936b..e8ff7a88a8 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -179,6 +179,9 @@ guix package -p "$profile" -A 'gui.*e' | grep guile
# Check whether `--show' returns something sensible.
guix package --show=guile | grep "^name: guile"
+# Check show doesn't fail for packages with non-package inputs.
+guix package --show=texlive
+
# There's no generation older than 12 months, so the following command should
# have no effect.
generation="`readlink_base "$profile"`"