[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
88/203: guix: packages: Fix repacking of plain tarballs.
From: |
guix-commits |
Subject: |
88/203: guix: packages: Fix repacking of plain tarballs. |
Date: |
Wed, 3 Nov 2021 21:10:08 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit b980766bd7e4fd7fe75e222f3dfc91d1eceb69f1
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)))
- 141/203: gnu: librsvg: Preserve the loaders.cache file., (continued)
- 141/203: gnu: librsvg: Preserve the loaders.cache file., guix-commits, 2021/11/03
- 152/203: gnu: python-dbus: Update to 1.2.18., guix-commits, 2021/11/03
- 08/203: gnu: gtk+: Add a debug output., guix-commits, 2021/11/03
- 37/203: gnu: python-sphinxcontrib-serializinghtml: Update to 1.1.5., guix-commits, 2021/11/03
- 46/203: gnu: gst-libav: Update to 1.19.2., guix-commits, 2021/11/03
- 58/203: gnu: polkit: Update to 0.120 and ungraft., guix-commits, 2021/11/03
- 63/203: gnu: gst-plugins-bad: Update to 1.18.5., guix-commits, 2021/11/03
- 60/203: gnu: gstreamer: Update to 1.18.5., guix-commits, 2021/11/03
- 78/203: gnu: gtk+-2: Fix ‘builder’ test., guix-commits, 2021/11/03
- 79/203: gnu: diffutils: Fix signal processing., guix-commits, 2021/11/03
- 88/203: guix: packages: Fix repacking of plain tarballs.,
guix-commits <=
- 112/203: gnu: libcloudproviders-minimal: Introduce minimal variant., guix-commits, 2021/11/03
- 95/203: gnu: Move a few Python packages to (gnu packages python-build)., guix-commits, 2021/11/03
- 96/203: gnu: python-pypa-build: Update to 0.7.0., guix-commits, 2021/11/03
- 102/203: gnu: meson: Patch to allow installing to independent prefixes., guix-commits, 2021/11/03
- 119/203: gnu: openssl: Absorb 1.1.1l graft., guix-commits, 2021/11/03
- 129/203: gnu: libsoup: Update to 3.0.1., guix-commits, 2021/11/03
- 134/203: gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper., guix-commits, 2021/11/03
- 131/203: gnu: pulseaudio: Add doxygen to fix build., guix-commits, 2021/11/03
- 156/203: gnu: python-six-bootstrap: Update to 1.16.0., guix-commits, 2021/11/03
- 153/203: gnu: boost: Update to 1.77.0., guix-commits, 2021/11/03