From patchwork Mon Mar 11 05:22:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Justin Veilleux X-Patchwork-Id: 61619 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2CCA927BBE9; Mon, 11 Mar 2024 05:23:02 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5522127BBE2 for ; Mon, 11 Mar 2024 05:22:58 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjY7L-0005Q7-VU; Mon, 11 Mar 2024 01:22:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjY7J-0005Pl-FY for guix-patches@gnu.org; Mon, 11 Mar 2024 01:22:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjY7J-0006aE-6r for guix-patches@gnu.org; Mon, 11 Mar 2024 01:22:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjY7q-0001O2-BA for guix-patches@gnu.org; Mon, 11 Mar 2024 01:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69722] gnu: zig-zls: Update to 0.10.0 Resent-From: Justin Veilleux Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 05:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69722 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 69722@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17101345745315 (code B ref -1); Mon, 11 Mar 2024 05:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Mar 2024 05:22:54 +0000 Received: from localhost ([127.0.0.1]:38308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjY7h-0001Nd-Ez for submit@debbugs.gnu.org; Mon, 11 Mar 2024 01:22:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:49732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjY7f-0001NW-Dn for submit@debbugs.gnu.org; Mon, 11 Mar 2024 01:22:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjY75-0005PC-3U for guix-patches@gnu.org; Mon, 11 Mar 2024 01:22:15 -0400 Received: from mail.cock.li ([37.120.193.123]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjY71-0006Y2-RU for guix-patches@gnu.org; Mon, 11 Mar 2024 01:22:14 -0400 From: Justin Veilleux DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail; t=1710134525; bh=oc61seKeKsmDYHB4ebIVXbRqxRaj9HnxPGTnGXH6sdY=; h=From:To:Subject:Date:From; b=nm0iYR1DSiW0vKlG2ZC3obVh3qVrivBzhFLkqyldlGoZfaDmvEP9vmJv+mzbRA3md kgyZ5102xCm5IKmczqJp6En5/wURiVGXwnyGhHVUOWXuB5u/i9aQ7uUsl8ip5xEnc/ fN01fU73fT53TzF7O5Rol7xJWSv7YA4XDX6m038K5udu0Yb5g/KxpZK5aWRdDWHUVW 9Eb4tgJuc15tEdnUHRFVa+T7KsD7FUDGhfTPIYWbg+JMM+L/w8laZxRvurC6esCIb0 8f7/kpdCZbLOtngf07otgUW8YD3Zgf8Bi5exkSL4TiRXig/m9LP7j/IfWAGctp2sls PAmqxTVFic+ug== Date: Mon, 11 Mar 2024 01:22:02 -0400 Message-ID: <87sf0x5on9.fsf@cock.li> MIME-Version: 1.0 Received-SPF: pass client-ip=37.120.193.123; envelope-from=terramorpha@cock.li; helo=mail.cock.li X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_PBL=3.335, RCVD_IN_VALIDITY_RPBL=1.31, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Here is a patch to update zig-zls to a new version compatible with the zig 0.10.0 compiler. Cheers. From 51b5c0a5293305b5c2606eecdf4b03eafaac700e Mon Sep 17 00:00:00 2001 Message-ID: <51b5c0a5293305b5c2606eecdf4b03eafaac700e.1710134409.git.terramorpha@cock.li> From: terramorpha Date: Mon, 11 Mar 2024 01:17:47 -0400 Subject: [PATCH] gnu: zig-zls: Update to 0.10.0 * gnu/packages/zig-xyz.scm (zig-zls): Update to 0.10.0 and use the zig-build-system. Change-Id: Ie062067854ba1087b0394128c66e060df3ef5abf --- 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 200b5c9940..83a22f4fc1 100644 --- a/gnu/packages/zig-xyz.scm +++ b/gnu/packages/zig-xyz.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2022 Maya Tomasek ;;; Copyright © 2023 Ekaitz Zarraga ;;; Copyright © 2023 Felix Lechner +;;; Copyright © 2024 Justin Veilleux ;;; ;;; This file is part of GNU Guix. ;;; @@ -97,7 +98,7 @@ (define-public tigerbeetle (define-public zig-zls (package (name "zig-zls") - (version "0.9.0") + (version "0.10.0") (source (origin (method git-fetch) (uri (git-reference @@ -107,24 +108,12 @@ (define-public zig-zls (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, base-commit: a8196632647b343f8e03c8f12fbdc0cc84ff90f6 -- 2.41.0