Skip to content

Commit 35ae162

Browse files
committed
Added npm_config_prefix to enable npm link [ci skip]
1 parent 0690e76 commit 35ae162

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

shell.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ in
2121
set +o allexport
2222
set -v
2323
24+
# Enables npm link to work
25+
export npm_config_prefix=~/.npm
26+
2427
export PATH="$(pwd)/dist/bin:$(npm bin):$PATH"
2528
2629
# pkg is installed in package.json

0 commit comments

Comments
 (0)