Commit Graph

10 Commits

Author SHA1 Message Date
Tobi Lutke
c2f3a40372
Derive flake version from package.json 2026-04-05 19:17:15 -04:00
Tobi Lutke
986fca3564
Add homeModules.default for home-manager integration 2026-04-05 19:10:22 -04:00
Tobi Lutke
65cd1b3fd0
fix(nix): update aarch64-darwin node_modules hash 2026-04-05 18:47:44 -04:00
Tobi Lutke
a02b9fe016
fix: update nix flake hash and stabilize bun test ordering
Update x86_64-linux node_modules hash after dependency pinning.
Add _resetProductionModeForTesting to fix getDefaultDbPath test
that fails when bun runs all test files in a single process.
Remove duplicate path/handelize tests from store.test.ts.
2026-04-05 18:44:40 -04:00
Surma
2de225c9e7
Test nix flake builds in CI (#487)
* Test nix flake builds in CI

* Update outdated bun.lock file

* fix: restore toLowerCase() in handelize and update tests

* Fix flake to use proper FODs

---------

Co-authored-by: Tobias Lütke <tobi@shopify.com>
2026-04-05 16:59:27 -04:00
Surma
cf9991cfa7
Fix flake 2026-03-27 23:12:20 +00:00
Paulo Casaretto
1033fffca6
fix: add python3 and cctools to nix build dependencies
node-gyp needs python3 to compile better-sqlite3, and on macOS it also
needs libtool from cctools to create static libraries. Without these,
`nix build` fails in the sandbox.
2026-02-18 10:22:32 -03:00
sh54
65c0f89560
Enable SQLite extension loading in devshell (#48)
Override sqlite in devShell to enable extension loading for sqlite-vec
support when running tests. Only sets BREW_PREFIX if not already defined
to avoid overriding user's existing setup.

Package build remains unchanged.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 11:37:03 -05:00
Burke Libbey
2410c8ef00 Fix flake.nix to use correct src/qmd.ts path
The installPhase was trying to copy qmd.ts from root, but it's at
src/qmd.ts. Updated to copy the src directory and point the wrapper
to the correct path.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 18:18:08 -05:00
Tobi Lutke
542509a098
Add Nix flake for easy installation
- Package QMD as a Nix derivation with bun and sqlite dependencies
- Support `nix profile install`, `nix run`, and `nix develop`
- Set library paths for sqlite extension support
2025-12-09 09:47:50 -05:00