Repository navigation
Closed
Description
Nixpkgs version
- Unstable (26.11)
Steps to reproduce
nix build github:NixOS/nixpkgs/f4a03c008967841f2a0b3cb7c436fc6fc31671f6#viddy
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
Relevant log output
error: linking with `/nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/cc` failed: exit status: 1
= note: /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: cannot find -lsqlite3: No such file or directory
collect2: error: ld returned 1 exit status
error: could not compile `viddy` (bin "viddy") due to 1 previous error; 6 warnings emittedAdditional context
viddy enables rusqlite's bundled feature. Since #537108 (cargoSetupHook forces common system libs) libsqlite3-sys no longer builds the vendored SQLite and links -lsqlite3 instead, which is not in buildInputs. The package recipe itself did not change; the last successful build was before that change reached unstable. viddy is listed in the tracking issue #570940.
Adding pkg-config to nativeBuildInputs and sqlite to buildInputs fixes it; the build and the version check pass on current master. I'll open a PR with that fix.
Disclosure: I used Claude Code (Claude Opus 5.5) to find the cause, test the fix and draft this report.
System metadata
- system:
"x86_64-linux" - host os: NixOS 26.11 (unstable-small)
- version:
nix (Nix) 2.34.9 - nixpkgs:
f4a03c008967841f2a0b3cb7c436fc6fc31671f6
Notify maintainers
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Metadata
Metadata
Assignees
Labels
No labels
Activity