guix package: '-s' displays different packages that have the same location.
authorLudovic Courtès <ludo@gnu.org>
Fri, 20 Mar 2015 20:48:31 +0000 (21:48 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 20 Mar 2015 21:07:28 +0000 (22:07 +0100)
commit9eeb3d8c28589cb3398c20593c4ea41a7cfb7249
treeded1c34524b528345a83af839cce8898651f74de
parentac85b515211e16f6be38d2d80cd7b0e9041e6623
guix package: '-s' displays different packages that have the same location.

Before that, 'guix package -s foobarbaz' would display only one package
when several match but they have the same location (which is common when
using 'inherit'.)

The original rationale was given at
<http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00280.html> but
it was arguably misguided because it led to "real" packages being
hidden.

Reported by Tomáš Čech <sleep_walker@gnu.org>.

* guix/scripts/package.scm (find-packages-by-description)[same-location?]:
  Remove.
  Remove call to 'delete-duplicates'.
guix/scripts/package.scm