Browse Source

utils: 'compressed-file?' matches ".lzma" files.

* guix/utils.scm (compressed-file?): Add "lzma" to the list.
version-0.13.0
Ludovic Courtès 5 years ago
parent
commit
f411124321
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 2
      guix/utils.scm

2
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

Loading…
Cancel
Save