guix_mirror_bot pushed a commit to branch misc-world-rebuild
in repository guix.

commit 35d336f3f32394b5d351ec32182d477cc8315a5b
Author: Nguyễn Gia Phong <[email protected]>
AuthorDate: Tue Jul 7 14:31:46 2026 +0900

    gnu: Add nghttp2-for-node-bootstrap.
    
    * gnu/packages/web.scm (nghttp2-for-node-bootstrap): New variable.
    * gnu/packages/node.scm (node-bootstrap)[native-inputs, inputs]:
      Replace nghttp2 with it.
---
 gnu/packages/node.scm |  4 ++--
 gnu/packages/web.scm  | 15 +++++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index bb2ab5d3dc..b860124224 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -296,7 +296,7 @@
      (list c-ares-for-node-bootstrap
            http-parser
            libuv-for-node
-           `(,nghttp2 "lib")
+           `(,nghttp2-for-node-bootstrap "lib")
            openssl-1.1
            zlib
            ;; Regular build-time dependencies.
@@ -316,7 +316,7 @@
            c-ares-for-node-bootstrap
            http-parser
            libuv-for-node
-           `(,nghttp2 "lib")
+           `(,nghttp2-for-node-bootstrap "lib")
            openssl
            python-wrapper               ;for node-gyp (supports python3)
            zlib))
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index f762c8f3e2..962b163f95 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -9309,6 +9309,21 @@ compressed JSON header blocks.
 @end itemize\n")
     (license license:expat)))
 
+(define-public nghttp2-for-node-bootstrap
+  (package
+    (inherit nghttp2)
+    (version "1.58.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/nghttp2/nghttp2/";
+                           "releases/download/v" version "/"
+                           "nghttp2-" version ".tar.xz"))
+       (sha256
+        (base32
+         "1q4ps8acr7nyia7mf2z11m0yh3fn1imhyv855j3xjbx91l2a6s2a"))))
+    (properties '((hidden? . #t)))))
+
 (define-public nghttp2-for-node-lts
   (package
     (inherit nghttp2)

Reply via email to