summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2026-07-28 16:43:22 +0200
committerMaxim Cournoyer <maxim@guixotic.coop>2026-08-27 10:59:21 +0900
commit84f3fa3491c8f991d3ee1116b30f17538b2e9222 (patch)
tree36c17a9d903424424f7734eeef85b8551a899815
parentcb72757b4e62b66d725e6888e404c06cefd4d079 (diff)
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
-rw-r--r--gnu/packages/node-xyz.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 839e6637b63..bdcb54f48ae 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -2373,7 +2373,7 @@ This is not a through or through2 stream. It doesn't transform the data, it just
2373 (string-append "--outdir=" target-output)) 2373 (string-append "--outdir=" target-output))
2374 (call-with-output-file (string-append target-output 2374 (call-with-output-file (string-append target-output
2375 "/package.json") 2375 "/package.json")
2376 (cut format <> "{type: ~s}" type))))) 2376 (cut format <> "{\"type\": ~s}" type)))))
2377 (list 2377 (list
2378 (list "cjs" "commonjs" "commonjs") 2378 (list "cjs" "commonjs" "commonjs")
2379 (list "esm" "esm" "module"))) 2379 (list "esm" "esm" "module")))