summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-02-27 23:10:48 +0100
committerLudovic Courtès <ludo@gnu.org>2016-02-27 23:31:52 +0100
commitcd05d388121d6a9d7ee83aefa29d3c3b255b7552 (patch)
treeb1761354332f50478077848a81b71ac91e4efcda
parent82f5186650dc5546eaa4cdc918c444632fa8086f (diff)
downloadguix-cd05d388121d6a9d7ee83aefa29d3c3b255b7552.tar.gz
grafts: Slight simplification.
* guix/grafts.scm (graft-derivation)[output-names]: Use
'derivation-output-names'.
-rw-r--r--guix/grafts.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/grafts.scm b/guix/grafts.scm
index a1f7d8801a..339f273b76 100644
--- a/guix/grafts.scm
+++ b/guix/grafts.scm
@@ -87,9 +87,7 @@ applied."
        (map derivation-output-path outputs))))
 
   (define output-names
-    (match (derivation-outputs drv)
-      (((names . outputs) ...)
-       names)))
+    (derivation-output-names drv))
 
   (define build
     `(begin