guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: gnu: node: Fix build with zlib 1.3.


From: guix-commits
Subject: branch core-updates updated: gnu: node: Fix build with zlib 1.3.
Date: Thu, 25 Jan 2024 06:52:44 -0500

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

efraim pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 64e9bd56e1 gnu: node: Fix build with zlib 1.3.
64e9bd56e1 is described below

commit 64e9bd56e1197672f6ffb51b59137843c472e7e0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jan 25 13:48:27 2024 +0200

    gnu: node: Fix build with zlib 1.3.
    
    * gnu/packages/node.scm (node)[source]: Adjust snippet to adjust a test
    to accept shorter version strings.
    
    Change-Id: If8384497035e44f4876357877941cbf175acf879
---
 gnu/packages/node.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index a9d4e5ab13..7c320a00d6 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2021, 2022 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -77,6 +78,10 @@
                     (("TRUE") "true")
                     (("FALSE") "false"))
 
+                  ;; Fix process.versions.XXXX assumption of always having
+                  ;; a version string of major.minor.patch and not major.minor.
+                  (substitute* "test/parallel/test-process-versions.js"
+                    (("\\\\d\\+\\\\.\\\\d\\+\\\\.") "(\\d+\\.)+"))
                   ;; Remove bundled software.
                   (for-each delete-file-recursively
                             '("deps/cares"



reply via email to

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