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:
Tobias Geerinckx-Rice 2018-03-01 23:48:09 +01:00
parent f563d19904
commit 65a3c342b0
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -71,11 +71,8 @@ (define-public ath9k-htc-firmware
(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))