[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
88/140: guix: packages: Fix repacking of plain tarballs.
From: |
guix-commits |
Subject: |
88/140: guix: packages: Fix repacking of plain tarballs. |
Date: |
Sun, 17 Oct 2021 23:11:01 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit c96f072520491b0b8421e6ae200253c2457d31aa
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)))
- 74/140: gnu: python-keras: Skip a flaky test., (continued)
- 74/140: gnu: python-keras: Skip a flaky test., guix-commits, 2021/10/17
- 81/140: build: qt-utils: Don't wrap .X-real files., guix-commits, 2021/10/17
- 69/140: gnu: tensorflow: Enable parallel build (at least partially)., guix-commits, 2021/10/17
- 77/140: gnu: tzdata: Update to 2021c., guix-commits, 2021/10/17
- 72/140: gnu: libnice: Update to 0.1.18-0.47a9633., guix-commits, 2021/10/17
- 79/140: gnu: diffutils: Fix signal processing., guix-commits, 2021/10/17
- 76/140: gnu: glibc: Look for the current timezone in /etc/localtime., guix-commits, 2021/10/17
- 83/140: gnu: gcc-5: Fix powerpc64le-linux build, guix-commits, 2021/10/17
- 82/140: gnu: curl: Honor #:tests?., guix-commits, 2021/10/17
- 84/140: gnu: make-ld-wrapper: Add a LINKER argument., guix-commits, 2021/10/17
- 88/140: guix: packages: Fix repacking of plain tarballs.,
guix-commits <=
- 89/140: aux-files: sitecustomize: Cleanup and add explanatory comments., guix-commits, 2021/10/17
- 90/140: gnu: glade3: Remove sitecustomize.py workaround., guix-commits, 2021/10/17
- 97/140: gnu: Add python-flit-core., guix-commits, 2021/10/17
- 95/140: gnu: Move a few Python packages to (gnu packages python-build)., guix-commits, 2021/10/17
- 92/140: gnu: rust: Add rust 1.54 and move all non-bootstrapping logic to it., guix-commits, 2021/10/17
- 87/140: gnu: gdb: Normalize indentation., guix-commits, 2021/10/17
- 93/140: gnu: Build all Rust packages using the latest rustc., guix-commits, 2021/10/17
- 98/140: gnu: Add python-tomli., guix-commits, 2021/10/17
- 100/140: gnu: python-pytest-6: Fix version via setuptools-scm., guix-commits, 2021/10/17
- 102/140: gnu: meson: Patch to allow installing to independent prefixes., guix-commits, 2021/10/17