From 8ebe616a92cdc1e6c6ebc01e34ddabe13a6444b3 Mon Sep 17 00:00:00 2001 From: tgunnoe Date: Wed, 26 Apr 2023 12:11:35 -0400 Subject: [PATCH] fix: nodejs: strict-builder: patch shebangs --- src/subsystems/nodejs/builders/strict-builder/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/subsystems/nodejs/builders/strict-builder/default.nix b/src/subsystems/nodejs/builders/strict-builder/default.nix index acf66b7662..0ab7c5cf4d 100644 --- a/src/subsystems/nodejs/builders/strict-builder/default.nix +++ b/src/subsystems/nodejs/builders/strict-builder/default.nix @@ -192,7 +192,8 @@ runHook preConfigure cp -r ${nodeModules} ./node_modules - chmod -R +w node_modules + chmod -R +xw node_modules + patchShebangs ./node_modules export NODE_PATH="$NODE_PATH:./node_modules" export PATH="$PATH:node_modules/.bin"