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>
This commit is contained in:
parent
b6753aa1e1
commit
c90a509dd9
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user