aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/embedded.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-05-22 16:13:18 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-05-24 23:29:44 +0200
commit9cdf48728e74c5aed0650201c2e39c82fea0ce4b (patch)
treeb516f629c203ecf2047d5aa7e2b6b1b0935b429a /gnu/packages/embedded.scm
parent1a1e83366d2d9aa5b49f2dba728a1a312fc22b65 (diff)
downloadpatches-9cdf48728e74c5aed0650201c2e39c82fea0ce4b.tar
patches-9cdf48728e74c5aed0650201c2e39c82fea0ce4b.tar.gz
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.
Diffstat (limited to 'gnu/packages/embedded.scm')
-rw-r--r--gnu/packages/embedded.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 2befdf31b3..f8684f46a2 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)