Skip to content

build: include .sqlx/ in cala-ledger package for Nix vendoring#676

Draft
nicolasburtey wants to merge 1 commit intomainfrom
build/sqlx-nix-vendoring
Draft

build: include .sqlx/ in cala-ledger package for Nix vendoring#676
nicolasburtey wants to merge 1 commit intomainfrom
build/sqlx-nix-vendoring

Conversation

@nicolasburtey
Copy link
Copy Markdown
Member

@nicolasburtey nicolasburtey commented Feb 23, 2026

Summary

  • Add explicit include directive to cala-ledger's Cargo.toml so the .sqlx/ offline query cache is included when vendoring the crate
  • Needed for SQLX_OFFLINE=true builds in Nix

Test plan

  • SQLX_OFFLINE=true cargo check -p cala-ledger succeeds
  • Nix build succeeds with vendored dependencies

🤖 Generated with Claude Code


Note

Low Risk
Packaging-only change that affects what files are included in the crate tarball; runtime behavior is unchanged, with minimal risk aside from slightly larger published artifacts.

Overview
Updates cala-ledger/Cargo.toml to add an explicit package.include list so the crate publish/vendor contents include .sqlx/** (along with src/, migrations, schemas, tests, etc.), enabling offline sqlx builds when dependencies are vendored (e.g., Nix with SQLX_OFFLINE=true).

Written by Cursor Bugbot for commit be963f2. This will update automatically on new commits. Configure here.

Add explicit `include` directive to cala-ledger's Cargo.toml so that
the .sqlx/ offline query cache is included when vendoring the crate,
which is needed for SQLX_OFFLINE=true builds in Nix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant