[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
88/227: guix: packages: Fix repacking of plain tarballs.
From: |
guix-commits |
Subject: |
88/227: guix: packages: Fix repacking of plain tarballs. |
Date: |
Thu, 11 Nov 2021 12:30:11 -0500 (EST) |
apteryx pushed a commit to branch core-updates-frozen
in repository guix.
commit ac4417328d58f08105afd48545ba945b25f5e666
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)))
- 74/227: gnu: python-keras: Skip a flaky test., (continued)
- 74/227: gnu: python-keras: Skip a flaky test., guix-commits, 2021/11/11
- 76/227: gnu: glibc: Look for the current timezone in /etc/localtime., guix-commits, 2021/11/11
- 77/227: gnu: tzdata: Update to 2021e., guix-commits, 2021/11/11
- 79/227: gnu: diffutils: Fix signal processing., guix-commits, 2021/11/11
- 78/227: gnu: gtk+-2: Fix ‘builder’ test., guix-commits, 2021/11/11
- 81/227: build: qt-utils: Don't wrap .X-real files., guix-commits, 2021/11/11
- 82/227: gnu: curl: Honor #:tests?., guix-commits, 2021/11/11
- 83/227: gnu: gcc-5: Fix powerpc64le-linux build, guix-commits, 2021/11/11
- 86/227: gnu: gdb: Patch references to /bin/sh and add debug output., guix-commits, 2021/11/11
- 87/227: gnu: gdb: Normalize indentation., guix-commits, 2021/11/11
- 88/227: guix: packages: Fix repacking of plain tarballs.,
guix-commits <=
- 90/227: gnu: glade3: Remove sitecustomize.py workaround., guix-commits, 2021/11/11
- 91/227: gnu: rust: Bootstrap rust from 1.39.0 and optimize build time., guix-commits, 2021/11/11
- 92/227: gnu: rust: Add rust 1.54 and move all non-bootstrapping logic to it., guix-commits, 2021/11/11
- 94/227: gnu: fontconfig: Add a search path for XDG_DATA_DIRS., guix-commits, 2021/11/11
- 95/227: gnu: Move a few Python packages to (gnu packages python-build)., guix-commits, 2021/11/11
- 96/227: gnu: python-pypa-build: Update to 0.7.0., guix-commits, 2021/11/11
- 100/227: gnu: python-pytest-6: Fix version via setuptools-scm., guix-commits, 2021/11/11
- 97/227: gnu: Add python-flit-core., guix-commits, 2021/11/11
- 102/227: gnu: meson: Patch to allow installing to independent prefixes., guix-commits, 2021/11/11
- 104/227: build: glib-or-gtk-build-system: Fix indentation., guix-commits, 2021/11/11