Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
mkdir -p $out/bin

cp -r node_modules $out/lib/qmd/
cp qmd.ts $out/lib/qmd/
cp -r src $out/lib/qmd/
cp package.json $out/lib/qmd/

makeWrapper ${pkgs.bun}/bin/bun $out/bin/qmd \
--add-flags "$out/lib/qmd/qmd.ts" \
--add-flags "$out/lib/qmd/src/qmd.ts" \
--set DYLD_LIBRARY_PATH "${pkgs.sqlite.out}/lib" \
--set LD_LIBRARY_PATH "${pkgs.sqlite.out}/lib"
'';
Expand Down Expand Up @@ -67,7 +67,7 @@

shellHook = ''
echo "QMD development shell"
echo "Run: bun qmd.ts <command>"
echo "Run: bun src/qmd.ts <command>"
'';
};
}
Expand Down