This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 403df42a34 gnu: zsh-syntax-highlighting: Update to 0.8.0.
403df42a34 is described below

commit 403df42a3467be67e399b1f2f78394773177df0a
Author: Patrick Norton <[email protected]>
AuthorDate: Tue Feb 24 17:42:04 2026 -0500

    gnu: zsh-syntax-highlighting: Update to 0.8.0.
    
    * gnu/packages/shellutils.scm (zsh-syntax-highlighting): Update to
    0.8.0.
    [native-inputs]: Add coreutils and grep.
    [arguments]: Use G-Expressions.
    <#:phases>: Update 'patch-paths and 'check.
    
    Merges guix/guix!6693
    
    Change-Id: I0fd1936cf55168f2069dd4fd5e63a6ec02ea9b65
    Signed-off-by: Cayetano Santos <[email protected]>
---
 gnu/packages/shellutils.scm | 56 ++++++++++++++++++++++-----------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 03c9c2b6cd..6d819ff755 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -298,7 +298,7 @@ press chosen keys, such as the UP and DOWN arrows, to cycle 
through matches.")
 (define-public zsh-syntax-highlighting
   (package
     (name "zsh-syntax-highlighting")
-    (version "0.7.1")
+    (version "0.8.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -307,36 +307,36 @@ press chosen keys, such as the UP and DOWN arrows, to 
cycle through matches.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "039g3n59drk818ylcyvkciv8k9mf739cv6v4vis1h9fv9whbcmwl"))))
+                "0f482llznpkdg3kv92mjq53djpi4023bdmq06lk1qh05gnp2qg46"))))
     (build-system gnu-build-system)
     (native-inputs
-     (list zsh))
+     (list zsh coreutils grep))
     (arguments
-     ;; FIXME: Tests fail when running test regexp
-     ;; there is no pcre module in the Guix zsh package
-     `(#:tests? #f
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (add-after 'unpack 'patch-paths
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out")))
-               (substitute* "Makefile"
-                 (("/usr/local") out)
-                 (("share/\\$\\(NAME\\)") "share/zsh/plugins/$(NAME)")))))
-         (add-after 'patch-paths 'make-writable
-           (lambda _
-             (for-each make-file-writable
-                       '("docs/highlighters.md"
-                         "README.md"))))
-         (add-before 'build 'add-all-md
-           (lambda _
-             (invoke "make" "all")))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "make" "test")
-               (invoke "make" "perf")))))))
+     ;; FIXME: Tests have expected failures (easy way to skip just those 
tests?)
+     (list
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure)
+          (add-after 'unpack 'patch-paths
+            (lambda _
+              (substitute* "Makefile"
+                (("/usr/local") #$output)
+                (("share/\\$\\(NAME\\)") "share/zsh/plugins/$(NAME)")
+                (("env -i") "env -i PATH=$$PATH"))))
+          (add-after 'patch-paths 'make-writable
+            (lambda _
+              (for-each make-file-writable
+                        '("docs/highlighters.md"
+                          "README.md"))))
+          (add-before 'build 'add-all-md
+            (lambda _
+              (invoke "make" "all")))
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "make" "test" (string-append "ZSH=" #$zsh "/bin/zsh"))
+                (invoke "make" "perf" (string-append "ZSH=" #$zsh 
"/bin/zsh"))))))))
     (home-page "https://github.com/zsh-users/zsh-syntax-highlighting";)
     (synopsis "Fish shell-like syntax highlighting for Zsh")
     (description

Reply via email to