guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: grafts: Slight simplification.


From: Ludovic Courtès
Subject: 02/03: grafts: Slight simplification.
Date: Sat, 27 Feb 2016 22:37:49 +0000

civodul pushed a commit to branch master
in repository guix.

commit cd05d388121d6a9d7ee83aefa29d3c3b255b7552
Author: Ludovic Courtès <address@hidden>
Date:   Sat Feb 27 23:10:48 2016 +0100

    grafts: Slight simplification.
    
    * guix/grafts.scm (graft-derivation)[output-names]: Use
    'derivation-output-names'.
---
 guix/grafts.scm |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/guix/grafts.scm b/guix/grafts.scm
index a1f7d88..339f273 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]