diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-03-01 23:48:09 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-03-02 15:52:54 +0100 |
commit | 65a3c342b0e53a23509ad479cb5140f09dd008bd (patch) | |
tree | d27b92e1a985719e87d90ad02da15150373c6129 /gnu/packages/firmware.scm | |
parent | f563d1990466e067e7c73eab553fe1ee20a44ffe (diff) | |
download | guix-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.scm | 5 |
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)) |