[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: qt-build-system: Don't double wrap programs.
From: |
guix-commits |
Subject: |
06/07: qt-build-system: Don't double wrap programs. |
Date: |
Thu, 22 Apr 2021 08:05:01 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit c90a509dd9b12dc94804161bbe88f401df1dad76
Author: Brendan Tildesley <mail@brendan.scot>
AuthorDate: Sun Sep 13 15:45:57 2020 +1000
qt-build-system: Don't double wrap programs.
* guix/build/qt-build-system.scm (wrap-all-programs): Excluded wrapped
programs from the list of files to wrap if they exist to avoid double
wrapping.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
guix/build/qt-build-system.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/guix/build/qt-build-system.scm b/guix/build/qt-build-system.scm
index f59b0c4..762fd8a 100644
--- a/guix/build/qt-build-system.scm
+++ b/guix/build/qt-build-system.scm
@@ -111,7 +111,10 @@ add a dependency of that output on Qt."
(define (find-files-to-wrap directory)
(append-map
(lambda (dir)
- (if (directory-exists? dir) (find-files dir ".*") (list)))
+ (if (directory-exists? dir)
+ (find-files dir (lambda (file stat)
+ (not (wrapped-program? file))))
+ '()))
(list (string-append directory "/bin")
(string-append directory "/sbin")
(string-append directory "/libexec")
- branch core-updates updated (a24562a -> a738a66), guix-commits, 2021/04/22
- 01/07: gremlin: 'elf-dynamic-info' returns a file name rathern than a dynamic entry., guix-commits, 2021/04/22
- 02/07: packages: Fix patch-and-repack for ZIP files., guix-commits, 2021/04/22
- 03/07: utils: Rename 'wrapper?' to 'wrapped-program?'., guix-commits, 2021/04/22
- 04/07: glib-or-gtk-build-system: Don't double wrap programs., guix-commits, 2021/04/22
- 05/07: rakudo-build-system: Don't double wrap programs., guix-commits, 2021/04/22
- 07/07: utils: wrap-program: Refuse to wrap .X-real files., guix-commits, 2021/04/22
- 06/07: qt-build-system: Don't double wrap programs.,
guix-commits <=