guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e87cb49f0798d0f384ce2160f57c25c4c6a8fa10
Author: Efraim Flashner <[email protected]>
AuthorDate: Fri Nov 13 15:55:14 2026 +0200

    gnu: node-source-map: Delete bundled wasm file.
    
    * gnu/packages/node-xyz.scm (node-source-map)[source]: Add snippet to
    remove included wasm file.
---
 gnu/packages/node-xyz.scm | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 16bc632cdea..8d9bdaf459f 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -4252,19 +4252,21 @@ connection.")))
   (package
     (name "node-source-map")
     (version "0.7.6")
-    (source (origin
-      (method git-fetch)
-      (uri (git-reference
-        (url "https://github.com/mozilla/source-map";)
-        (commit version)
-        ;; Download cargo submodule to compile mappings.wasm
-        ;; Also download submodules for test, they are WIP
-        (recursive? #t)))
-      (file-name (git-file-name name version))
-      (sha256
-       (base32 "1l07f5389wr64nn2mdv05jgf5ng78ksa7vbw42s9drlix8biddl6"))
-      (patches
-       (search-patches "node-source-map-fix-mapping-callback.patch"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mozilla/source-map";)
+             (commit version)
+             ;; Download cargo submodule to compile mappings.wasm
+             ;; Also download submodules for test, they are WIP
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1l07f5389wr64nn2mdv05jgf5ng78ksa7vbw42s9drlix8biddl6"))
+       (patches (search-patches "node-source-map-fix-mapping-callback.patch"))
+       (snippet
+        #~(delete-file "lib/mappings.wasm"))))
     (build-system cargo-build-system)
     (arguments
      (list

Reply via email to