summaryrefslogtreecommitdiff
path: root/nongnu/packages/node.scm
diff options
context:
space:
mode:
Diffstat (limited to 'nongnu/packages/node.scm')
-rw-r--r--nongnu/packages/node.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/nongnu/packages/node.scm b/nongnu/packages/node.scm
index 876e65b..76f2ab0 100644
--- a/nongnu/packages/node.scm
+++ b/nongnu/packages/node.scm
@@ -40,7 +40,13 @@
(lambda _
(delete-file (string-append #$output "/bin/yarn.cmd"))
(delete-file (string-append #$output "/bin/yarnpkg.cmd"))))
- (add-after 'delete-powershell-entrypoints 'wrap-entrypoints
+ (add-after 'delete-powershell-entrypoints 'patch-shebang-in-cli
+ (lambda _
+ (substitute* (string-append #$output "/lib/cli.js")
+ (("#!/bin/sh")
+ (string-append "#!" #$(this-package-input "bash-minimal")
+ "/bin/sh")))))
+ (add-after 'patch-shebang-in-cli 'wrap-entrypoints
(lambda _
(for-each
(lambda (entrypoint)