mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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
This commit is contained in:
parent
57802fa009
commit
c380428261
1 changed files with 5 additions and 0 deletions
|
@ -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 @@ (define-public node
|
|||
(("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"
|
||||
|
|
Loading…
Reference in a new issue