guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 584c62a6b0ef3ad2626e2d16357d452814771f16
Author: Jelle Licht <[email protected]>
AuthorDate: Tue Jul 28 16:43:22 2026 +0200
gnu: node-minipass: Generate valid package.json files.
* gnu/packages/node-xyz.scm (node-minipass)[arguments]<#:phases>: Generate
valid package.json files in 'build' phase.
Change-Id: Ifd6b00f9eb8d4905666448035bd759d5ab426670
---
gnu/packages/node-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 3b292ef592a..c59c7950dd8 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -2420,7 +2420,7 @@ This is not a through or through2 stream. It doesn't
transform the data, it just
(string-append "--outdir=" target-output))
(call-with-output-file (string-append target-output
"/package.json")
- (cut format <> "{type: ~s}" type)))))
+ (cut format <> "{\"type\": ~s}" type)))))
(list
(list "cjs" "commonjs" "commonjs")
(list "esm" "esm" "module")))