gnu: ath9k-htc-firmware: Use INSTALL-FILE.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Substitute INSTALL-FILE for COPY-FILE with MKDIR-P.
This commit is contained in:
parent
f563d19904
commit
65a3c342b0
|
@ -71,11 +71,8 @@
|
|||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(fw-dir (string-append out "/lib/firmware")))
|
||||
(mkdir-p fw-dir)
|
||||
(for-each (lambda (file)
|
||||
(copy-file file
|
||||
(string-append fw-dir "/"
|
||||
(basename file))))
|
||||
(install-file file fw-dir))
|
||||
(find-files "." "\\.fw$"))
|
||||
#t))))
|
||||
#:tests? #f))
|
||||
|
|
Loading…
Reference in New Issue