Merge pull request #479 from surma-dump/surma/fix-flake

Fix flake
This commit is contained in:
Tobias Lütke 2026-03-28 19:43:15 -04:00 committed by GitHub
commit 49ebf6e8ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
### Fixes
- Fix paths in nix flake
- Sync stale `bun.lock` (`better-sqlite3` 11.x → 12.x). CI and release
script now use `--frozen-lockfile` to prevent recurrence. #386
(thanks @Mic92)

View File

@ -48,7 +48,7 @@
cp package.json $out/lib/qmd/
makeWrapper ${pkgs.bun}/bin/bun $out/bin/qmd \
--add-flags "$out/lib/qmd/src/qmd.ts" \
--add-flags "$out/lib/qmd/src/cli/qmd.ts" \
--set DYLD_LIBRARY_PATH "${pkgs.sqlite.out}/lib" \
--set LD_LIBRARY_PATH "${pkgs.sqlite.out}/lib"
'';
@ -81,7 +81,7 @@
shellHook = ''
export BREW_PREFIX="''${BREW_PREFIX:-${sqliteWithExtensions.out}}"
echo "QMD development shell"
echo "Run: bun src/qmd.ts <command>"
echo "Run: bun src/cli/qmd.ts <command>"
'';
};
}