[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
88/142: guix: packages: Fix repacking of plain tarballs.
From: |
guix-commits |
Subject: |
88/142: guix: packages: Fix repacking of plain tarballs. |
Date: |
Wed, 20 Oct 2021 14:56:46 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 30ce9685b6d8f45e09d2f2c62ecba7f05cfc7c41
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Aug 30 17:32:21 2021 -0400
guix: packages: Fix repacking of plain tarballs.
Fixes <https://issues.guix.gnu.org/50066>.
* guix/packages.scm (patch-and-repack): Test for a tarball using tarball?
and
move the plain file copy to the else clause.
Reported-by: Mathieu Othacehe <othacehe@gnu.org>
---
guix/packages.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/guix/packages.scm b/guix/packages.scm
index fa23cc3..509dc49 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -934,10 +934,10 @@ specifies modules in scope when evaluating SNIPPET."
((file-is-directory? #+source)
(copy-recursively directory #$output
#:log (%make-void-port "w")))
- ((not #+comp)
- (copy-file file #$output))
- (else
- (repack directory #$output)))))))
+ ((or #+comp (tarball? #+source))
+ (repack directory #$output))
+ (else ;single uncompressed file
+ (copy-file file #$output)))))))
(let ((name (if (or (checkout? original-file-name)
(not (compressor original-file-name)))
- 08/142: gnu: gtk+: Add a debug output., (continued)
- 08/142: gnu: gtk+: Add a debug output., guix-commits, 2021/10/20
- 17/142: gnu: mutter: Propagate gdk-pixbuf+svg rather than gdk-pixbuf., guix-commits, 2021/10/20
- 29/142: gnu: e2fsprogs: Update to 1.46.2., guix-commits, 2021/10/20
- 47/142: gnu: gst-editing-services: Update to 1.19.2., guix-commits, 2021/10/20
- 57/142: gnu: Add a missing copyright., guix-commits, 2021/10/20
- 60/142: gnu: gstreamer: Update to 1.18.5., guix-commits, 2021/10/20
- 63/142: gnu: gst-plugins-bad: Update to 1.18.5., guix-commits, 2021/10/20
- 73/142: bluez: Update to 5.61., guix-commits, 2021/10/20
- 77/142: gnu: tzdata: Update to 2021c., guix-commits, 2021/10/20
- 85/142: gnu: Add ld-gold-wrapper., guix-commits, 2021/10/20
- 88/142: guix: packages: Fix repacking of plain tarballs.,
guix-commits <=
- 89/142: aux-files: sitecustomize: Cleanup and add explanatory comments., guix-commits, 2021/10/20
- 94/142: gnu: fontconfig: Add a search path for XDG_DATA_DIRS., guix-commits, 2021/10/20
- 91/142: gnu: rust: Bootstrap rust from 1.39.0 and optimize build time., guix-commits, 2021/10/20
- 116/142: gnu: mesa: Update to 21.2.4., guix-commits, 2021/10/20
- 109/142: gnu: json-glib-minimal: Introduce minimal variant., guix-commits, 2021/10/20
- 119/142: gnu: openssl: Absorb 1.1.1l graft., guix-commits, 2021/10/20
- 132/142: gnu: webkitgtk: Add a debug output., guix-commits, 2021/10/20
- 21/142: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/10/20
- 53/142: gnu: googletest: Update to 1.11.0., guix-commits, 2021/10/20
- 114/142: gnu: rest: Use libsoup-minimal., guix-commits, 2021/10/20