import: utils: 'specs->package-lists' correctly matches "out".

* guix/import/utils.scm (specs->package-lists): Match "out", not ("out").
This commit is contained in:
Ludovic Courtès 2019-06-07 22:55:50 +02:00
parent c0a4db6697
commit f54cab2784
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
@ -287,7 +287,7 @@ (define (specs->package-lists specs)
(map (lambda (spec)
(let-values (((pkg out) (specification->package+output spec)))
(match out
(("out") (list (package-name pkg) pkg))
("out" (list (package-name pkg) pkg))
(_ (list (package-name pkg) pkg out)))))
specs))