[flake] fix-bun with node_modules directory checking

parent 67a2f89f
......@@ -75,8 +75,12 @@
#!${pkgs.stdenv.shell}
set -e
cd ./node_modules/better-sqlite3
DIR=./node_modules/better-sqlite3
if [ -d "$DIR" ]; then
cd $DIR
${pkgs.bun}/bin/bun install
fi
'';
};
compile = pkgs.writeShellApplication {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment