packages: Gracefully report packages not found.
authorLudovic Courtès <ludo@gnu.org>
Tue, 8 Mar 2016 10:48:21 +0000 (11:48 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 8 Mar 2016 10:48:21 +0000 (11:48 +0100)
commitefb107e0cd34fa0ed656441bf6e2414253c0344a
tree298d7fc6967eaa8158a86af89bee59914ce7799c
parent95cd4971d07fe312a4e0d21b72e7bf1bba493753
packages: Gracefully report packages not found.

Fixes a thinko introduced in 1b846da8c372bee78851439fd9e72b2499115e5a
that would lead to a backtrace when looking for an unknown package.

* gnu/packages.scm (%find-package): Correct logic when checking for
FALLBACK?.
gnu/packages.scm
tests/packages.scm