289 Commits

Author SHA1 Message Date
whispers
f5898b2e40 Merge master into staging-next 2026-10-09 21:24:00 -04:00
John Ericson
28cc0c6870 sqlite: fetch the tcl/tclsh separation patches from upstream
The `--with-tcl`/`--with-tclsh` untangling patch we carried in-tree has
been taken upstream as `d501b949a39d`, together with a follow-up,
`e4e1b4a464e6`, that keeps the two flags apart in cross builds without
`--with-tcl` too (see
https://sqlite.org/forum/forumpost/fe9e99eb27c8c2ba). Both were merged
to trunk in `8364e34cbd9e`. Fetch them from there instead of keeping a
vendored copy.

Compared to the old vendored patch, upstream's version also has some
small comment and build system diagnostic improvements, thanks to
Stephan Beal and myself. See the forum thread for details.

Assisted-by: Claude Code (Claude Opus 5.5)
2026-10-09 17:47:04 -04:00
Philip Taron
a66e91bfe8 sqlite: fix tests on musl
Since test failures now fail the build, pkgsMusl.sqlite fails in
checkPhase for two reasons:

- testrunner builds fuzzcheck-asan and fuzzcheck-ubsan, which cannot be
  linked because neither GCC's libsanitizer nor compiler-rt's sanitizers
  are built for musl. Exclude them with a testrunner pattern.

- capi3c.test, a copy of capi3.test, still runs the intentional
  use-after-free cases that upstream disabled in capi3.test because they
  occasionally segfault. musl's allocator makes them segfault reliably.
  Disable them the same way upstream did.

Assisted-by: Claude Code (claude-opus-5-5)
2026-10-06 09:05:46 -07:00
OPNA2608
e9fb8846f9 sqlite: Apply Fedora patch to fix test/fts3corrupt4.test on big-endian 2026-09-03 15:31:46 +02:00
OPNA2608
0dc32d7e3b sqlite: Make test failures actually fail the build 2026-09-03 15:31:11 +02:00
nixpkgs-ci[bot]
5d77b7f190 Merge staging-next into staging 2026-08-29 00:22:52 +00:00
John Ericson
97ab3112c6 sqlite: Fix cross builds with TCL, and Windows builds
Tested Mingw and Cygwin cross builds. See comments (including comments
in the attached patch) for details.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-27 16:55:11 -04:00
Stefan Frijters
434a85ead9 sqlite: enable strictDeps, enable structuredAttrs, modernize (#551634) 2026-08-22 22:07:04 +00:00
Stefan Frijters
ccddc49b94 sqlite: enable structuredAttrs, use finalAttrs 2026-08-11 23:17:01 +02:00
Stefan Frijters
7ffde03eb7 sqlite: enable strictDeps 2026-08-11 23:16:52 +02:00
jopejoe1
f47a3818e1 sqlite: use blessing license
source: https://sqlite.org/src/artifact/df5091916dbb40e6
2026-08-07 11:36:14 +02:00
K900
1cb2e8437a Merge remote-tracking branch 'origin/master' into staging-next 2026-07-15 21:31:19 +03:00
Artemis Tosini
0d4e839df4 sqlite: Do not run tests on BSD 2026-07-14 16:47:28 -04:00
Sandro
c106989163 sqlite, sqlite-analyzer: 3.53.1 -> 3.53.3 (#528137) 2026-07-03 07:26:09 +00:00
Sergei Trofimovich
703a55ddf4 sqlite, sqlite-analyzer: 3.53.1 -> 3.53.3
Changes:
- https://sqlite.org/releaselog/3_53_2.html
- https://sqlite.org/releaselog/3_53_3.html
2026-06-27 21:21:37 +01:00
nixpkgs-ci[bot]
40cd11208d Merge staging-next into staging 2026-06-05 18:41:13 +00:00
Jack Rosenberg
f60161f629 sqlar: drop 2026-06-05 13:06:00 +02:00
Vilem Liepelt
3b9aea2467 sqlite: 3.51.2 -> 3.53.1 2026-05-13 10:36:43 +02:00
Sam Pointon
4d58f8e435 sqlite: enable limit-on-update/delete
Limit-on-update/delete is useful for, amongst other things, bounding the 
amount of work done in a single SQL statement. It is not enabled by 
upstream by default, but Debian does enable it.

Because the parser generator doesn't receive NIX_CFLAGS_COMPILE, the 
setting has to go through the --enable-update-limit configure flag. 
Maybe in the future, if this derivation moves to e.g. CFLAGS, this 
feature enablement can be made uniform with the others.
2026-03-26 16:50:46 +00:00
Alexander Bantyev
2839911e81 various: add security-review team as a maintainer
Adds the @NixOS/security-review team as a maintainer to multiple
packages deemed to be important security-wise.

For the motivation of the package list, see:
https://github.com/NixOS/nixpkgs/issues/494349#issuecomment-4005099033
2026-03-05 15:19:44 +01:00
nixpkgs-ci[bot]
e217c74eac Merge staging-next into staging 2026-02-06 18:16:24 +00:00
Markus Sütter
196b385317 various: add meta.identifier.cpeParts to a batch of packages 2026-02-02 09:22:55 +01:00
Arne Keller
770480ae85 sqlite: enable Percentile extension (#483781) 2026-02-01 17:41:12 +00:00
Randy Eckenrode
02ff32a522 sqlite: disable tests on Darwin
The tests seem to be unreliable (at least when SQLite is built by the
Nix daemon). Sometimes they succeed, but they often do not.

Even if SQLite were removed from the bootstrap, this would still be a
problem, so disable the tests for now.
2026-01-27 11:33:32 -05:00
Antoine du Hamel
562c38c1ed sqlite: enable Percentile extension 2026-01-25 23:14:49 +01:00
Alyssa Ross
c5516b9d0b sqlite: fix static build
TCL support requires building libtclsqlite as a shared library.

Fixes: a3987ff328 ("sqlite: Build canonical source with tcl")
2026-01-21 19:11:20 +01:00
Silvan Mosberger
8631b2911c sqlite: Enable tests
Possible after parent commit

Though this does increase build time from ~2 mins to ~12mins on my machine
2026-01-12 14:32:23 +01:00
Silvan Mosberger
a3987ff328 sqlite: Build canonical source with tcl
See
051e942f5d/autoconf/README.txt (L27-L40)
for motivation

Also adds support for the TCL sqlite library
2026-01-12 14:32:21 +01:00
Sergei Trofimovich
77ce284215 sqlite, sqlite-analyzer: 3.51.1 -> 3.51.2
Changes: https://sqlite.org/releaselog/3_51_2.html
2026-01-09 22:16:37 +00:00
Michael Daniels
9a04427f2c maintainers: remove dtzWill
Totally inactive on GitHub since August 2024.
2026-01-01 12:33:41 -05:00
Wolfgang Walther
46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Sergei Trofimovich
2a3a74621a sqlite, sqlite-analyzer: 3.51.0 -> 3.51.1
Changes: https://sqlite.org/releaselog/3_51_1.html
2025-11-29 06:58:17 +00:00
Martin Weinelt
3b50030cda sqlite: 3.50.4 -> 3.51.0
https://www.sqlite.org/releaselog/3_51_0.html
2025-11-25 12:39:10 -08:00
Philip Taron
39842bcef8 sqlite: 3.50.2 -> 3.50.4 (#426289) 2025-09-03 06:39:00 -07:00
Sergei Trofimovich
f2205ad7de sqlite: 3.50.2 -> 3.50.4
Changes:
- https://sqlite.org/releaselog/3_50_3.html
- https://sqlite.org/releaselog/3_50_4.html
2025-08-07 21:05:12 +01:00
K900
ac84c07e66 sqlite: drop weird LFS64 hacks (#427411) 2025-07-29 11:03:57 +03:00
Wolfgang Walther
535b720589 Merge branch 'master' into staging-next 2025-07-24 14:27:50 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Alyssa Ross
8641d2da64 sqlite: drop weird LFS64 hacks
This breaks my linux->freebsd cross build.  It's only relevant for
32-bit systems, and the right way to do this is to set
_FILE_OFFSET_BITS, not hacks like this.  Plus, whether we use 64-bit
file APIs on 32-bit platforms is really a decision we should be making
globally, not per package.
2025-07-22 12:10:33 +02:00
Maximilian Bosch
2d01f41e02 Merge: sqlite, sqlite-analyzer: 3.50.1 -> 3.50.2 (#420837) 2025-07-06 12:10:01 +02:00
Sergei Trofimovich
5e86f9d4b7 sqlite-interactive: fix readline autodetection
Closes: https://github.com/NixOS/nixpkgs/issues/421157
2025-07-03 22:46:24 +02:00
Sergei Trofimovich
67c23f0648 sqlite, sqlite-analyzer: 3.50.1 -> 3.50.2
Changes: https://sqlite.org/releaselog/3_50_2.html
2025-06-28 21:27:49 +01:00
Tyler Langlois
4affcf85e0 sqlite: 3.48.0 -> 3.50.1
This update includes a move from autotools to autosetup, which
requires from build/configure flag changes.

3.49.1 included some bugs with static compilation which 3.49.2
fixes. 3.50.1 was released during the merge request's lifetime and
included for further stabilization improvements to sqlite.

NB first iterations of this included tcl in the inputs; but per some
scattered repository comments, tcl is currently unreliable (broken?) in
static.
2025-06-08 13:48:53 -06:00
Arne Keller
5463d09ef3 sqlite: enable Geopoly, Math functions and RBU extensions (#403958) 2025-06-03 10:35:27 +02:00
FliegendeWurst
54ff5b44d7 sqlite: enable Geopoly, Math functions and RBU extensions
nodejs >= 24 expect these extensions to be available.

Documentation:
https://sqlite.org/rbu.html
https://sqlite.org/geopoly.html
https://www.sqlite.org/lang_mathfunc.html
2025-05-03 23:19:08 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Martin Weinelt
74e976c4c6 sqlite: backport patch to resolve regression in 3.48.0
Unblocks the test suite of nodejs and probably other packages.
2025-02-13 13:50:11 +01:00
Alyssa Ross
a0b46893d8 sqlite: fix Libs.private 2025-02-11 16:53:57 +01:00