me
/
guix
Archived
1
0
Fork 0

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>
master
Brendan Tildesley 2020-09-13 15:45:56 +10:00 committed by Ludovic Courtès
parent ed42b2caba
commit b6753aa1e1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@
(map (cut string-append dir "/" <>)
(or (scandir dir (lambda (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