aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJean-Pierre De Jesus DIAZ <jean@foundationdevices.com>2024-02-29 16:20:45 +0100
committerLudovic Courtès <ludo@gnu.org>2024-04-17 12:13:02 +0200
commitaf181ac5d14ae639499ff1a57b5a9d615aee0ed2 (patch)
tree7a18e445ab178b2b4a24b696c2dfdfc9d8f26eff /gnu/packages
parent9a60894156c3ea2c609ae0cd787df949f2d6ecc2 (diff)
downloadguix-af181ac5d14ae639499ff1a57b5a9d615aee0ed2.tar.gz
guix-af181ac5d14ae639499ff1a57b5a9d615aee0ed2.zip
gnu: ath9k-htc-firmware: Remove binary blobs.
* gnu/packages/firmware.scm (ath9k-htc-firmware) <source>: Add snippet to remove bundled binary files. Change-Id: I2f0592d03039ff9d5a5f3a79b0c62566164f3762 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/firmware.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 21df5cd8f2..1d89dfba00 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -99,6 +99,10 @@
(uri (git-reference
(url "https://github.com/qca/open-ath9k-htc-firmware")
(commit version)))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Delete binary blobs.
+ #~(for-each delete-file (find-files "." "\\.(a|o)$")))
(sha256
(base32
"16jbj8avg5jkgvq5lxm0hdxxn4c3zn7fx8b4nxllvr024apk9w23"))