Repository navigation
viddy: use system sqlite - #585402
viddy: use system sqlite#585402
Conversation
| nativeBuildInputs = [ pkg-config ]; | ||
|
|
There was a problem hiding this comment.
| nativeBuildInputs = [ pkg-config ]; |
For me that even works without this
There was a problem hiding this comment.
Thanks, confirmed: it builds and links the system sqlite on master with just buildInputs = [ sqlite ];. Dropped pkg-config in 7971cbb.
There was a problem hiding this comment.
I would recommend not dropping it as within our cargo hook we assert that we will be providing it via pkg-config. The fact that it works without pkg-config is more of a coincidence than anything (the fact that we provide some flags via wrappers and stuff). So if the build script decides to change how it passes flags, it would be well within its right to break us.
✅
|
Since NixOS#537108 the cargo setup hook makes libsqlite3-sys link the system library instead of the bundled copy, so the build failed with "cannot find -lsqlite3". Assisted-by: Claude Code (Claude Opus 5.5)
4304a2a to
7971cbb
Compare
|
|
Thanks @SuperSandro2000 for catching that. |
Since #537108 the cargo setup hook makes
libsqlite3-syslink the system SQLite instead of the bundled copy, so viddy failed to link withcannot find -lsqlite3. This addssqlitetobuildInputs;pkg-configturned out not to be needed. viddy is listed in the tracking issue #570940.Fixes #585400
Hydra failure: https://hydra.nixos.org/build/352553196
Disclosure: Claude Code (Claude Opus 5.5) helped find the cause, write the change and draft this description. I reviewed the diff and the test results before submitting.
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.