[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
88/201: guix: packages: Fix repacking of plain tarballs.
From: |
guix-commits |
Subject: |
88/201: guix: packages: Fix repacking of plain tarballs. |
Date: |
Mon, 1 Nov 2021 23:18:44 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit d9b57279bc98d6525483b567b7df9f53fab9f893
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 fb7eabd..083ee6d 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -981,10 +981,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)))
- 143/201: gnu: elogind: Update to 246.10., (continued)
- 143/201: gnu: elogind: Update to 246.10., guix-commits, 2021/11/01
- 148/201: gnu: jsoncpp: Apply patch to regular package., guix-commits, 2021/11/01
- 154/201: gnu: python-dbusmock: Update to 0.24.0., guix-commits, 2021/11/01
- 161/201: gnu: mesa: Enable support for OpenGL ES 1.1 and 2.0., guix-commits, 2021/11/01
- 177/201: gnu: xorg-server, xorg-server-for-tests: Update to 21.1.0., guix-commits, 2021/11/01
- 188/201: gnu: gnome-online-accounts: Update to 3.43.1., guix-commits, 2021/11/01
- 194/201: gnu: docker-compose: Update to 1.29.2., guix-commits, 2021/11/01
- 73/201: bluez: Update to 5.61., guix-commits, 2021/11/01
- 80/201: gnu: diffutils: Update to 3.8., guix-commits, 2021/11/01
- 84/201: gnu: make-ld-wrapper: Add a LINKER argument., guix-commits, 2021/11/01
- 88/201: guix: packages: Fix repacking of plain tarballs.,
guix-commits <=
- 93/201: gnu: Build all Rust packages using the latest rustc., guix-commits, 2021/11/01
- 108/201: gnu: lsof: Fix indentation., guix-commits, 2021/11/01
- 120/201: gnu: mit-krb5: Absorb 1.19.2 graft., guix-commits, 2021/11/01
- 123/201: gnu: pango: Update to 1.48.10., guix-commits, 2021/11/01
- 129/201: gnu: libsoup: Update to 3.0.1., guix-commits, 2021/11/01
- 138/201: profiles: Add a gdk-pixbuf-loaders-cache-file hook., guix-commits, 2021/11/01
- 156/201: gnu: python-six-bootstrap: Update to 1.16.0., guix-commits, 2021/11/01
- 160/201: gnu: mesa: Replace obsolete vulkan-overlay-layer build option., guix-commits, 2021/11/01
- 192/201: gnu: Add python-dotenv., guix-commits, 2021/11/01
- 198/201: gnu: ansible: Update to 4.7.0., guix-commits, 2021/11/01