gnu: cling: Correct erroneous substitute pattern.

* gnu/packages/llvm.scm (cling) [arguments]: Properly escape '\b' in the
regexp pattern of the patch-paths phase.
This commit is contained in:
Maxim Cournoyer 2023-03-22 21:42:08 -04:00
parent b58bac0086
commit cb2e7efa6c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2257,7 +2257,7 @@ (define-public cling
(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