From cb2e7efa6c17f02c7051bcf6e0d1b8b869ebcce7 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 22 Mar 2023 21:42:08 -0400 Subject: gnu: cling: Correct erroneous substitute pattern. * gnu/packages/llvm.scm (cling) [arguments]: Properly escape '\b' in the regexp pattern of the patch-paths phase. --- gnu/packages/llvm.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 09c546734e..e5bf9f5cae 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -2257,7 +2257,7 @@ LLVM.")))) (add-after 'unpack 'patch-paths (lambda* (#:key inputs #:allow-other-keys) (substitute* "lib/Interpreter/CIFactory.cpp" - (("\bsed\b") + (("\\bsed\\b") (which "sed")) ;; This ensures that the default C++ library used by Cling is ;; that of the compiler that was used to build it, rather -- cgit 1.4.1