Commit graph

17 commits

Author SHA1 Message Date
Matt Sturgeon
9a8a103ab2 update-scripts/update: fix 'has changed' condition when not committing
(cherry picked from commit 00524c7935)
2025-06-06 10:28:54 +00:00
Matt Sturgeon
8939b90c96 update-scripts/update: fix call to version-info
The binary is at `result/bin/version-info`, not `result` itself.

(cherry picked from commit 743e777484)
2025-06-06 10:28:54 +00:00
Matt Sturgeon
8917e2e8ec update-scripts/version-info: get channel status for supported versions
Fetch channel info from NixOS/infra, the canonical source of truth.

(cherry picked from commit 9328f4437d)
2025-06-04 04:27:13 +10:00
Matt Sturgeon
dfbab369c4 update-scripts/version-info: convert to a script
This will allow us to do impure things if needed.

(cherry picked from commit a95db128a6)
2025-06-04 04:27:13 +10:00
Matt Sturgeon
215e992e26 update-scripts/update: write version-info during update
(cherry picked from commit cd7a41c23c)
2025-06-03 09:46:14 +00:00
Matt Sturgeon
47699135a5 update-scripts: move update logic from CI to dedicated script
(cherry picked from commit 132c1611f6)
2025-06-03 09:46:14 +00:00
Matt Sturgeon
379d8bb5ca update-scripts/version-info: init
Writes a version-info.toml file.

(cherry picked from commit 7a4c70c55f)
2025-06-03 09:46:14 +00:00
Matt Sturgeon
b04aa8fb49 update-scripts: get nixpkgs using flak-compat
This ensures we get an actual nixpkgs flake, which will have source info
like `rev`.

It also means we have access to `nixvim` if we need it.

(cherry picked from commit bfee503e0f)
2025-06-03 09:46:14 +00:00
Quentin Boyer
d63ac3eb39 update-scripts: Handle missing descriptions for enums 2025-01-17 20:44:04 +01:00
Quentin Boyer
674790dbf9 update-scripts: Correctly handle propreties without a 'type' 2025-01-17 20:44:03 +01:00
Quentin Boyer
8e9458eacf update-scripts: Add more verbose errors for rust-analyzer 2025-01-17 20:44:03 +01:00
Gaetan Lepage
e680b367c7 treewide: format with latest nixfmt 2024-12-02 09:38:16 +00:00
Austin Horstman
849c33c283
update-scripts/nvim-lspconfig: server_configurations -> configs 2024-10-10 09:22:48 -05:00
Quentin Boyer
aa24b3f9d8 update-scripts: Extract the list of all servers from nvim-lspconfig 2024-10-08 21:28:44 +02:00
Quentin Boyer
dbf6f7bc99 update-script/rust-analyzer: Filter out headers from option descriptions
Headers are not allowed in nixpkgs option descriptions.
2024-08-12 18:54:01 +02:00
Quentin Boyer
ad704ddba7 generated,rust-analyzer: Handle objects with defined properties
They are implemented as submodules instead of an attrset of anything
2024-08-12 18:53:57 +02:00
Matt Sturgeon
d3cb750e6a
update-scripts: move out of flake
See the explanation in the new update-scripts/README.md file.
2024-08-03 21:56:40 +01:00