Skip to content

Commit 3c8a333

Browse files
committed
fix: replace node_modules always in the root dir
1 parent 550ee1e commit 3c8a333

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix/shells/main.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ in
221221
222222
# workaround to reuse devshell node_modules for tup build
223223
# make sure it's always updated
224-
rm -rf node_modules
225-
ln -s $NIX_NODE_PATH node_modules
224+
rm -rf $ROOT_PATH/node_modules
225+
ln -s $NIX_NODE_PATH $ROOT_PATH/node_modules
226226
227227
export NIX_CODETRACER_EXE_DIR=$ROOT_PATH/src/build-debug/
228228
export LINKS_PATH_DIR=$ROOT_PATH/src/build-debug/

0 commit comments

Comments
 (0)