gnu: custom-gcc: Fix regex used for matching executables.

Fixes <https://bugs.gnu.org/31561>.

* gnu/packages/gcc.scm (custom-gcc)[arguments]: Fix regex used for matching
broken or conflicting executables.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Alex Vong 2018-06-14 01:29:08 +02:00 committed by Danny Milosavljevic
parent a8ef66f94d
commit a1a3b25dfe
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ as the 'native-search-paths' field."
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(for-each delete-file (for-each delete-file
(find-files (string-append (assoc-ref outputs "out") "/bin") (find-files (string-append (assoc-ref outputs "out") "/bin")
".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc.*)")) ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)"))
#t)))))))) #t))))))))
(define %generic-search-paths (define %generic-search-paths