Skip to content

Commit 9981784

Browse files
javascript: add node_modules/.bin to PATH
1 parent 7250dbb commit 9981784

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/modules/languages/javascript.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,11 @@ in
243243
'') ++
244244
(lib.optional cfg.bun.install.enable ''
245245
source ${initBunScript}
246-
'')
246+
'') ++ [
247+
''
248+
export PATH="${nodeModulesPath}/.bin:$PATH"
249+
''
250+
]
247251
);
248252
};
249253
}

0 commit comments

Comments
 (0)