3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

View file

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