guix-commits
[Top][All Lists]
Advanced

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

06/09: gnu: zig-zls: Update to 0.10.0.


From: guix-commits
Subject: 06/09: gnu: zig-zls: Update to 0.10.0.
Date: Wed, 13 Mar 2024 09:00:49 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit a00341c9e64c28dc05773b84179bedde103a001b
Author: terramorpha <terramorpha@cock.li>
AuthorDate: Mon Mar 11 01:17:47 2024 -0400

    gnu: zig-zls: Update to 0.10.0.
    
    * gnu/packages/zig-xyz.scm (zig-zls): Update to 0.10.0.
    [build-system]: Switch to the zig-build-system.
    [inputs]: Switch to zig-0.10.
    [arguments]: Remove #:phases and skip tests.
    
    Change-Id: Ie062067854ba1087b0394128c66e060df3ef5abf
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/zig-xyz.scm | 25 +++++++------------------
 1 file changed, 7 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index fd194a6a4f..0cd08b6ac6 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2022 Maya Tomasek <maya.tomasek@disroot.org>
 ;;; Copyright © 2023 Ekaitz Zarraga <ekaitz@elenq.tech>
 ;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
+;;; Copyright © 2024 Justin Veilleux <terramorpha@cock.li>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -107,7 +108,7 @@ mission-critical safety and performance for financial 
services.")
 (define-public zig-zls
   (package
     (name "zig-zls")
-    (version "0.9.0")
+    (version "0.10.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -117,24 +118,12 @@ mission-critical safety and performance for financial 
services.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1hhs7dz9rpshfd1a7x5swmix2rmh53vsqskh3mzqlrj2lgb3cnii"))))
-    (build-system gnu-build-system)
-    (inputs (list zig-0.9 python))
+                "1lsks7h3z2m4psyn9mwdylv1d6a9i3z54ssadiz76w0clbh8ch9k"))))
+    (build-system zig-build-system)
+    (inputs (list zig-0.10 python))
     (arguments
-     (list #:phases #~(modify-phases %standard-phases
-                        (delete 'configure)
-                        (replace 'build
-                          (lambda* (#:key outputs #:allow-other-keys)
-                            (let ((out (assoc-ref outputs "out")))
-                              (setenv "ZIG_GLOBAL_CACHE_DIR"
-                                      (string-append (getcwd) "/zig-cache"))
-                              (invoke "zig" "build" "install"
-                                      "-Drelease-safe" "--prefix" out))))
-                        (delete 'install)
-                        (replace 'check
-                          (lambda* (#:key tests? #:allow-other-keys)
-                            (when tests?
-                              (invoke "zig" "build" "test")))))))
+     ;; The tests fail with memory leaks.
+     (list #:tests? #f))
     (synopsis "Zig language server")
     (description
      "Zig Language Server is a language server implementing the @acronym{LSP,



reply via email to

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