guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: cling: Correct erroneous substitute pattern.


From: guix-commits
Subject: 03/04: gnu: cling: Correct erroneous substitute pattern.
Date: Wed, 22 Mar 2023 22:01:16 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit cb2e7efa6c17f02c7051bcf6e0d1b8b869ebcce7
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 22 21:42:08 2023 -0400

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]