summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-06-07 22:55:50 +0200
committerLudovic Courtès <ludo@gnu.org>2019-06-07 22:55:50 +0200
commitf54cab2784493f4e9c51d3d7bcd38f155dc0fe7d (patch)
treef96b18c74c1491510056ae9981e1748fdcb08070
parentc0a4db66976dc63decbd612aafb934f44629e321 (diff)
downloadguix-f54cab2784493f4e9c51d3d7bcd38f155dc0fe7d.tar.gz
import: utils: 'specs->package-lists' correctly matches "out".
* guix/import/utils.scm (specs->package-lists): Match "out", not ("out").
-rw-r--r--guix/import/utils.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/import/utils.scm b/guix/import/utils.scm
index d0dffe9b04..63fc9bbb27 100644
--- a/guix/import/utils.scm
+++ b/guix/import/utils.scm
@@ -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 @@ package value."
   (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))