guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: arm-none-eabi-toolchain: Provide union of all inputs at the


From: Ricardo Wurmus
Subject: 04/05: gnu: arm-none-eabi-toolchain: Provide union of all inputs at the output.
Date: Wed, 24 May 2017 17:30:15 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 9cdf48728e74c5aed0650201c2e39c82fea0ce4b
Author: Ricardo Wurmus <address@hidden>
Date:   Mon May 22 16:13:18 2017 +0200

    gnu: arm-none-eabi-toolchain: Provide union of all inputs at the output.
    
    * gnu/packages/embedded.scm (arm-none-eabi-toolchain)[arguments]: Make the
    union of all inputs available at the output.
---
 gnu/packages/embedded.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 2befdf3..f8684f4 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -237,7 +237,16 @@ library variant NEWLIB."
       (version (package-version xgcc))
       (source #f)
       (build-system trivial-build-system)
-      (arguments '(#:builder (mkdir %output)))
+      (arguments
+       '(#:modules ((guix build union))
+         #:builder
+         (begin
+           (use-modules (ice-9 match)
+                        (guix build union))
+           (match %build-inputs
+             (((names . directories) ...)
+              (union-build (assoc-ref %outputs "out")
+                           directories))))))
       (propagated-inputs
        `(("binutils" ,(cross-binutils "arm-none-eabi"))
          ("gcc" ,xgcc)



reply via email to

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