Repository navigation
taskwarrior3: fix build with system SQLite - #585295
Merged
doronbehar merged 1 commit intoNov 10, 2026
Merged
Conversation
5 of 13 tasks
Seeker0472
force-pushed
the
fix/taskwarrior3-system-sqlite
branch
from
November 9, 2026 07:36
82ad8c3 to
eb10295
Compare
nixpkgs-ci
Bot
requested review from
Necior,
doronbehar,
me-and,
mlaradji and
oxalica
November 9, 2026 07:43
doronbehar
requested changes
Nov 9, 2026
doronbehar
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the patch!
| patches = [ | ||
| # Nixpkgs-specific: cargoSetupHook selects system SQLite, so propagate | ||
| # its link dependency through the CMake/Rust bridge as well. | ||
| ./use-system-sqlite.patch |
Contributor
There was a problem hiding this comment.
This is not nixpkgs specific IMO. See:
Let's give upstream a day or two to reply, and use fetchpatch with a link to the PR if upstream is neutral / positive about my patch.
Contributor
Author
There was a problem hiding this comment.
Yes, I think so
Maybe we need wait for the next release that includes it and update the Nixpkgs package then
Provide SQLite and pkg-config for libsqlite3-sys when the Cargo setup hook requests system libraries. Apply the merged upstream fix to propagate SQLite through Corrosion's static crate target to its C++ consumers. GothenburgBitFactory/taskwarrior#4223 Related to NixOS#570940 Assisted-by: Codex (GPT-6)
Seeker0472
force-pushed
the
fix/taskwarrior3-system-sqlite
branch
from
November 10, 2026 03:43
eb10295 to
5884fa7
Compare
doronbehar
approved these changes
Nov 10, 2026
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provide SQLite and
pkg-configforlibsqlite3-syswhen the Cargo setup hook requests system libraries.Use the fix merged upstream in GothenburgBitFactory/taskwarrior#4223, fetched from commit
bd86de7a6e99b1bc8d1a8f5704a08571afd2cdef. It propagates system SQLite throughtaskchampion_lib-staticto the C++ consumers whenLIBSQLITE3_SYS_USE_PKG_CONFIGselects the system library.Related: #570940; system-library migration: #537108.
Validation:
nix build -f . taskwarrior3 --no-linkpassed on x86_64-linux with sandboxing enabled; all 177 install-check tests passed, including the version check.task --versionsucceeded and the executable links to Nixpkgs SQLite.uid-rangefeature unavailable on this builder.Assisted by Codex (GPT-6), also disclosed in the commit trailer.
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.