mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-23 15:24:52 +01:00
nongnu: broadcom-sta: Fix build failure for x86_64-linux.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/152 * nongnu/packages/linux.scm (broadcom-sta)[native-inputs]: Remove arch decision logic and... [source]: move it here. [arguments]: Remove 'unpack phase as done by build system now. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
9445cbce7c
commit
b0142c822b
1 changed files with 5 additions and 15 deletions
|
@ -598,25 +598,15 @@ network adapters.")
|
|||
(package
|
||||
(name "broadcom-sta")
|
||||
(version broadcom-sta-version)
|
||||
(source #f)
|
||||
(source
|
||||
(match (or (%current-target-system) (%current-system))
|
||||
("x86_64-linux" broadcom-sta-x86_64-source)
|
||||
(_ broadcom-sta-i686-source)))
|
||||
(build-system linux-module-build-system)
|
||||
(arguments
|
||||
`(#:linux ,linux
|
||||
#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'unpack
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((source (assoc-ref inputs "broadcom-sta-source")))
|
||||
(invoke "tar" "xf" source)
|
||||
(chdir ((@@ (guix build gnu-build-system) first-subdirectory) "."))
|
||||
#t))))))
|
||||
#:tests? #f))
|
||||
(supported-systems '("i686-linux" "x86_64-linux"))
|
||||
(native-inputs
|
||||
`(("broadcom-sta-source"
|
||||
,(match (or (%current-target-system) (%current-system))
|
||||
("x86_64-linux" broadcom-sta-x86_64-source)
|
||||
(_ broadcom-sta-i686-source)))))
|
||||
(home-page "https://www.broadcom.com/support/802.11")
|
||||
(synopsis "Broadcom 802.11 Linux STA wireless driver")
|
||||
(description "This package contains Broadcom's IEEE 802.11a/b/g/n/ac hybrid
|
||||
|
|
Loading…
Reference in a new issue