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:
parent
a8ef66f94d
commit
a1a3b25dfe
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue