rakudo-build-system: Don't double wrap programs.
* guix/build/rakudo-build-system.scm (wrap): Don't return any potential already wrapped-programs in the list-of-files to wrap. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ed42b2caba
commit
b6753aa1e1
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@
|
||||||
(map (cut string-append dir "/" <>)
|
(map (cut string-append dir "/" <>)
|
||||||
(or (scandir dir (lambda (f)
|
(or (scandir dir (lambda (f)
|
||||||
(let ((s (stat (string-append dir "/" f))))
|
(let ((s (stat (string-append dir "/" f))))
|
||||||
(eq? 'regular (stat:type s)))))
|
(and (eq? 'regular (stat:type s))
|
||||||
|
(not (wrapped-program? f))))))
|
||||||
'())))
|
'())))
|
||||||
|
|
||||||
(define bindirs
|
(define bindirs
|
||||||
|
|
Reference in a new issue