packages: Gracefully print packages whose 'location' is #f.
authorLudovic Courtès <ludo@gnu.org>
Wed, 8 Oct 2014 21:06:19 +0000 (23:06 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 8 Oct 2014 21:06:19 +0000 (23:06 +0200)
commit2e1bafb03438757c7cc34c16230b00623507ff84
tree2f09766293395c67de7858d93a777c863e8ba20f
parent9c814b828ae07899594ad9cd83d2e77e4cc528cc
packages: Gracefully print packages whose 'location' is #f.

* guix/packages.scm (<package> printer): Check whether LOC is #f.
* tests/packages.scm ("printer with location", "printer without
  location"): New tests.
guix/packages.scm
tests/packages.scm