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.
This commit is contained in:
parent
1a1e83366d
commit
9cdf48728e
|
@ -237,7 +237,16 @@ library variant NEWLIB."
|
||||||
(version (package-version xgcc))
|
(version (package-version xgcc))
|
||||||
(source #f)
|
(source #f)
|
||||||
(build-system trivial-build-system)
|
(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
|
(propagated-inputs
|
||||||
`(("binutils" ,(cross-binutils "arm-none-eabi"))
|
`(("binutils" ,(cross-binutils "arm-none-eabi"))
|
||||||
("gcc" ,xgcc)
|
("gcc" ,xgcc)
|
||||||
|
|
Loading…
Reference in New Issue