civodul pushed a commit to branch master
in repository guix.

commit af181ac5d14ae639499ff1a57b5a9d615aee0ed2
Author: Jean-Pierre De Jesus DIAZ <j...@foundationdevices.com>
AuthorDate: Thu Feb 29 16:20:45 2024 +0100

    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 <l...@gnu.org>
---
 gnu/packages/firmware.scm | 4 ++++
 1 file changed, 4 insertions(+)

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"))

Reply via email to