GNU bug report logs - #78183
[PATCH] gnu: node-esbuild: Replace esbuild-node with node-esbuild

Previous Next

Package: guix-patches;

Reported by: "d" <d <at> niel.khodabakh.sh>

Date: Thu, 1 May 2025 10:57:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 78183 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#78183; Package guix-patches. (Thu, 01 May 2025 10:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "d" <d <at> niel.khodabakh.sh>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 01 May 2025 10:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "d" <d <at> niel.khodabakh.sh>
To: "guix-patches" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: node-esbuild: Replace esbuild-node with node-esbuild
Date: Thu, 1 May 2025 07:17:07 +0000
[Message part 1 (text/plain, inline)]
This change replaces the esbuild-node package built with (guix build-system go) with one built via (guix build-system node), making it more compatible with how other Node packages are built and imported.
It also uses the actual build scripts from the package itself instead of hacking around it within (guix build-system go).

I had difficulty adding node-esbuild in (gnu packages node-xyz) where I originally tried to add it.
Kept running into what I suspect is a cyclic dependency issue, where it would complain with 'error: esbuild: unbound variable' when I had the call to (package-source esbuild), but if I ommit that part, there's no issue with esbuild being an (input).

The reason I'm making this change is so that I have a node-esbuild Node package that I can use in another package I'm trying to add.
[0001-Replace-esbuild-node-with-node-esbuild.patch (application/octet-stream, attachment)]

This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.