summaryrefslogtreecommitdiff
path: root/guix/utils.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-05-15 00:31:14 +0200
committerLudovic Courtès <ludo@gnu.org>2017-05-15 23:55:10 +0200
commitf411124321068b5510c4cabe5889b500c6a7de52 (patch)
tree344c6a85d2cd611dac18fcd42019e605ebdf9d3b /guix/utils.scm
parent6d225e89dbd67a3365005c2e3f8d095ef01a29c3 (diff)
utils: 'compressed-file?' matches ".lzma" files.
* guix/utils.scm (compressed-file?): Add "lzma" to the list.
Diffstat (limited to 'guix/utils.scm')
-rw-r--r--guix/utils.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/utils.scm b/guix/utils.scm
index 3fefa49607..9bf1cc893f 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -512,7 +512,7 @@ minor version numbers from version-string."
(define (compressed-file? file)
"Return true if FILE denotes a compressed file."
(->bool (member (file-extension file)
- '("gz" "bz2" "xz" "lz" "tgz" "tbz2" "zip"))))
+ '("gz" "bz2" "xz" "lz" "lzma" "tgz" "tbz2" "zip"))))
(define (switch-symlinks link target)
"Atomically switch LINK, a symbolic link, to point to TARGET. Works