Subject: [bug#49813] [PATCH 21/34] gnu: tensorflow: Fix regex in FIND-FILES invocation.

From: Sarah Morgensen <[email-masked]>
Date: Sun, 1 Aug 2021 20:27:15 -0700

See <https://issues.guix.gnu.org/37150> for more information.

* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Fix regex.
---
 gnu/packages/machine-learning.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 9f977a3fc9..02365a4d59 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1691,7 +1691,7 @@ Python.")
 
              ;; Fix the build with python-3.8, taken from rejected upstream patch:
              ;; https://github.com/tensorflow/tensorflow/issues/34197
-             (substitute* (find-files "tensorflow/python" ".*\\.cc$")
+             (substitute* (find-files "tensorflow/python" "\\.cc$")
                (("(nullptr,)(\\ +/. tp_print)" _ _ tp_print)
                 (string-append "NULL,   " tp_print)))
              #t))
-- 
2.31.1