Skip to content

sqlx-cli: use system sqlite instead of bundled sqlite - #585098

Merged
NickCao merged 1 commit into
NixOS:masterfrom
neilg:sqlx-cli-use-system-sqlite
Nov 9, 2026
Merged

NickCao merged 1 commit into
NixOS:masterfrom
neilg:sqlx-cli-use-system-sqlite

Conversation

@neilg

@neilg neilg commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Use system sqlite instead of bundled sqlite

Related to #570940

@nixpkgs-ci
nixpkgs-ci Bot requested review from fd, greizgh and xrelkd November 8, 2026 20:48
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle! labels Nov 8, 2026
@ethancedwards8

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 585098
Commit: 673add4a140d96376efb05cb22b1dc14376f2ed7


aarch64-darwin

✅ 1 package built:
  • sqlx-cli

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 2 This PR was reviewed and approved by two persons. label Nov 8, 2026
@praseodym

Copy link
Copy Markdown

Also related to #585305

@NickCao
NickCao added this pull request to the merge queue Nov 9, 2026
@NickCao NickCao mentioned this pull request Nov 9, 2026
6 of 13 tasks
Merged via the queue into NixOS:master with commit 2ac66aa Nov 9, 2026
36 checks passed
@neilg
neilg deleted the sqlx-cli-use-system-sqlite branch November 10, 2026 10:58
sandhose added a commit to sandhose/nixconf that referenced this pull request Nov 11, 2026
Since NixOS/nixpkgs#537108 the Rust cargoSetupHook forces crates like
libsqlite3-sys to link against the system library instead of their
bundled copy. sqlx-cli 0.9.0 does not list sqlite in its buildInputs,
so linking fails with `cannot find -lsqlite3` on Linux and darwin.

The upstream fix (NixOS/nixpkgs#585098) is merged on master but has not
reached nixos-unstable yet; drop this override once it has.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-actions Bot pushed a commit to Bogay/tranquil-pds that referenced this pull request Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants