aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/firmware.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-03-01 23:48:09 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2018-03-02 15:52:54 +0100
commit65a3c342b0e53a23509ad479cb5140f09dd008bd (patch)
treed27b92e1a985719e87d90ad02da15150373c6129 /gnu/packages/firmware.scm
parentf563d1990466e067e7c73eab553fe1ee20a44ffe (diff)
downloadguix-65a3c342b0e53a23509ad479cb5140f09dd008bd.tar
guix-65a3c342b0e53a23509ad479cb5140f09dd008bd.tar.gz
gnu: ath9k-htc-firmware: Use INSTALL-FILE.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Substitute INSTALL-FILE for COPY-FILE with MKDIR-P.
Diffstat (limited to 'gnu/packages/firmware.scm')
-rw-r--r--gnu/packages/firmware.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 0e1539cf66..da7430b063 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -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))