summaryrefslogtreecommitdiff
path: root/etc/disarchive-manifest.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-08-04 21:32:41 +0200
committerLudovic Courtès <ludo@gnu.org>2022-08-05 00:14:29 +0200
commit2acffd56a58c01785ea6ea738b79991c0685d364 (patch)
treedc30a917431f8e2dbcc4782b74558a402895f369 /etc/disarchive-manifest.scm
parent68edaf467fccd93103f08a5a225f7b475454694b (diff)
disarchive-manifest: Handle tar.xz archives.
* etc/disarchive-manifest.scm (tarball-origin?): Add ".tar.xz".
Diffstat (limited to 'etc/disarchive-manifest.scm')
-rw-r--r--etc/disarchive-manifest.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/disarchive-manifest.scm b/etc/disarchive-manifest.scm
index 60edee8eac..e4bc97dd01 100644
--- a/etc/disarchive-manifest.scm
+++ b/etc/disarchive-manifest.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2021-2022 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,11 +30,12 @@
(match (origin-actual-file-name origin)
(#f #f)
((? string? file)
- ;; As of version 0.2.1, Disarchive can only deal with raw tarballs and
- ;; gzip-compressed tarballs.
+ ;; As of version 0.4.0, Disarchive can only deal with raw tarballs,
+ ;; gzip-compressed tarballs, and xz-compressed tarballs.
(and (origin-hash origin)
(or (string-suffix? ".tar.gz" file)
(string-suffix? ".tgz" file)
+ (string-suffix? ".tar.xz" file)
(string-suffix? ".tar" file))))))
(define (origin->disarchive origin)