mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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
1 changed files with 10 additions and 1 deletions
|
@ -237,7 +237,16 @@ (define (arm-none-eabi-toolchain xgcc 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)
|
||||
|
|
Loading…
Reference in a new issue