Commit graph

3442 commits

Author SHA1 Message Date
Matt Sturgeon
2b2b1e6d8f ci: rename update-scriptsci
This changes how we think about this directory; it does not need to be
exclusively for scripts related to updates, but should be a place for
any scripts intended to be run by CI workflows.

This mindset should make it easier to develop and test the business
logic of workflows, without always needing to test "in production" on
the nixvim repo or a fork.
2025-06-15 21:23:58 +00:00
Manuel Transfeld
7388c85c54 escape backslash
Some checks failed
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Build and deploy documentation / deploy (push) Has been cancelled
2025-06-15 17:55:56 +00:00
nixvim-ci[bot]
d4e736941f flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/6afe187897bef7933475e6af374c893f4c84a293?narHash=sha256-K9yBph93OLTNw02Q6e9CYFGrUhvEXnh45vrZqIRWfvQ%3D' (2025-06-14)
  → 'github:NixOS/nixpkgs/41da1e3ea8e23e094e5e3eeb1e6b830468a7399e?narHash=sha256-jp0D4vzBcRKwNZwfY4BcWHemLGUs4JrS3X9w5k/JYDA%3D' (2025-06-14)
• Updated input 'home-manager':
    'github:nix-community/home-manager/79dfd9aa295e53773aad45480b44c131da29f35b?narHash=sha256-X3WAS322EsebI4ohJcXhKpiyG1v%2B7wE4VOiXy1pxM/c%3D' (2025-06-13)
  → 'github:nix-community/home-manager/c5f345153397f62170c18ded1ae1f0875201d49a?narHash=sha256-1l6ZW%2B2%2BLDQhYgE4fo2KsM2Ms3lY3ZXv0n6uKka2yMk%3D' (2025-06-14)
2025-06-15 12:50:07 +00:00
nixvim-ci[bot]
f54f383f1f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6afe187897bef7933475e6af374c893f4c84a293?narHash=sha256-K9yBph93OLTNw02Q6e9CYFGrUhvEXnh45vrZqIRWfvQ%3D' (2025-06-14)
  → 'github:NixOS/nixpkgs/41da1e3ea8e23e094e5e3eeb1e6b830468a7399e?narHash=sha256-jp0D4vzBcRKwNZwfY4BcWHemLGUs4JrS3X9w5k/JYDA%3D' (2025-06-14)
2025-06-15 12:50:07 +00:00
nixvim-ci[bot]
e114d442b1 flake/dev/flake.lock: Update
Some checks are pending
Build and deploy documentation / deploy (push) Waiting to run
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/cdc68935eba9f86d155585fdf6f17af6824f38ac?narHash=sha256-How2kQw0psKmCdXgojc95Sf3K5maHB3qfINxTZFCAPM%3D' (2025-06-10)
  → 'github:NixOS/nixpkgs/6e7721e37bf00fa7ea44ac3cfc9d2411284ec3ef?narHash=sha256-OHibOvVwKqO1qvRg0r3agtd1EagW4THBcoWT7QGgcNo%3D' (2025-06-13)
• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/80479b6ec16fefd9c1db3ea13aeb038c60530f46?narHash=sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo%2BbnXU9D9k%3D' (2025-05-16)
  → 'github:cachix/git-hooks.nix/623c56286de5a3193aa38891a6991b28f9bab056?narHash=sha256-WUaIlOlPLyPgz9be7fqWJA5iG6rHcGRtLERSCfUDne4%3D' (2025-06-11)
• Updated input 'home-manager':
    'github:nix-community/home-manager/427c96044f11a5da50faf6adaf38c9fa47e6d044?narHash=sha256-UL9F76abAk87llXOrcQRjhd5OaOclUd6MIltsqcUZmo%3D' (2025-06-10)
  → 'github:nix-community/home-manager/79dfd9aa295e53773aad45480b44c131da29f35b?narHash=sha256-X3WAS322EsebI4ohJcXhKpiyG1v%2B7wE4VOiXy1pxM/c%3D' (2025-06-13)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/19346808c445f23b08652971be198b9df6c33edc?narHash=sha256-vt6hM9DNywnXXuW1qPDLzECmbDcmxhh58wpb0EEQjAo%3D' (2025-06-06)
  → 'github:lnl7/nix-darwin/2f140d6ac8840c6089163fb43ba95220c230f22b?narHash=sha256-1Mc/D/1RwwmDKY59f4IpDBgcQttxffm%2B4o0m67lQ8hc%3D' (2025-06-14)
2025-06-14 18:08:32 +00:00
nixvim-ci[bot]
eb727ef065 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cdc68935eba9f86d155585fdf6f17af6824f38ac?narHash=sha256-How2kQw0psKmCdXgojc95Sf3K5maHB3qfINxTZFCAPM%3D' (2025-06-10)
  → 'github:NixOS/nixpkgs/6e7721e37bf00fa7ea44ac3cfc9d2411284ec3ef?narHash=sha256-OHibOvVwKqO1qvRg0r3agtd1EagW4THBcoWT7QGgcNo%3D' (2025-06-13)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/4029d450d0266909ee52775849b7da54e79b328e?narHash=sha256-UB8Mc88rW9frjpJ1Fj2ro7f07Gg8dX3uVXvMXnFR4CE%3D' (2025-06-10)
  → 'github:NuschtOS/search/8dfe5879dd009ff4742b668d9c699bc4b9761742?narHash=sha256-L3x2nSlFkXkM6tQPLJP3oCBMIsRifhIDPMQQdHO5xWo%3D' (2025-06-12)
2025-06-14 18:08:32 +00:00
Matt Sturgeon
18d838e889 ci/update-other: disable fail-fast matrix strategy
Some checks failed
Build and deploy documentation / deploy (push) Has been cancelled
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
This means all updates will be attempted, even if one fails;
E.g. the branch doesn't exist yet.
2025-06-12 20:57:50 +00:00
Matt Sturgeon
d9a4a56dcf ci/update-other: generate branch list from version-info
Uses a sparse-checkout to download only the `version-info.toml` file,
then uses the `yq-go` action to extract the "other" branches as a JSON
array.
2025-06-12 20:57:50 +00:00
Matt Sturgeon
7e02029af6 ci/update-other: move branch list to a prepare job 2025-06-12 20:57:50 +00:00
Matt Sturgeon
b5e0ed67fe ci/update-other: explicitly set contents: read permission 2025-06-12 20:57:50 +00:00
Matt Sturgeon
7f10688fe1 ci/update-other: tweak names 2025-06-12 20:57:50 +00:00
Matt Sturgeon
1b02a2eb86 ci/update-other: run on ARM 2025-06-12 20:57:50 +00:00
Matt Sturgeon
1b08a4d976 lib/builders: pass text as file
Some checks are pending
Build and deploy documentation / deploy (push) Waiting to run
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
This fixes potential "argument list too long" errors from bash when
writing large files.
2025-06-11 23:45:05 +00:00
Matt Sturgeon
64f0d3c86a ci/mergify: drop
We no longer use mergify, so drop the config file.
2025-06-11 12:23:11 +00:00
Matt Sturgeon
45441d876c dev/tests: run tests in groups
Some checks are pending
Build and deploy documentation / deploy (push) Waiting to run
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
To improve performance and reduce memory usage, run tests in batches of
20.
2025-06-11 10:20:56 +00:00
William Vera
46ad5ec05c user-configs: add @wverac's config 2025-06-11 09:44:24 +00:00
Austin Horstman
d025ea6be3 tests/easy-dotnet: dont run nvim
Will try to run dotnet tool install for easydotnet testrunner. We can't
mutate the environment, disable running, for now.
2025-06-11 09:02:58 +00:00
Austin Horstman
6e8d9f84b8 plugins/avante: providers migration 2025-06-11 09:02:58 +00:00
Gaetan Lepage
e89eb15456 tests/parrot: do not run nvim as it requires an api_key 2025-06-11 09:02:58 +00:00
nixvim-ci[bot]
14347a615e generated: Updated rust-analyzer.nix 2025-06-11 09:02:58 +00:00
nixvim-ci[bot]
2c6f148ddc flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/3d1f29646e4b57ed468d60f9d286cde23a8d1707?narHash=sha256-B3BsCRbc%2Bx/d0WiG1f%2BqfSLUy%2BoiIfih54kalWBi%2B/M%3D' (2025-05-28)
  → 'github:NixOS/nixpkgs/cdc68935eba9f86d155585fdf6f17af6824f38ac?narHash=sha256-How2kQw0psKmCdXgojc95Sf3K5maHB3qfINxTZFCAPM%3D' (2025-06-10)
• Updated input 'home-manager':
    'github:nix-community/home-manager/95c988cf08e9a5a8fe7cc275d5e3f24e9e87bd51?narHash=sha256-uGnudxMoQi2c8rpPoHXuQSm80NBqlOiNF4xdT3hhzLM%3D' (2025-05-29)
  → 'github:nix-community/home-manager/427c96044f11a5da50faf6adaf38c9fa47e6d044?narHash=sha256-UL9F76abAk87llXOrcQRjhd5OaOclUd6MIltsqcUZmo%3D' (2025-06-10)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/44a7d0e687a87b73facfe94fba78d323a6686a90?narHash=sha256-sNUUP6qxGkK9hXgJ%2Bp362dtWLgnIWwOCmiq72LAWtYo%3D' (2025-05-27)
  → 'github:lnl7/nix-darwin/19346808c445f23b08652971be198b9df6c33edc?narHash=sha256-vt6hM9DNywnXXuW1qPDLzECmbDcmxhh58wpb0EEQjAo%3D' (2025-06-06)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1f3f7b784643d488ba4bf315638b2b0a4c5fb007?narHash=sha256-9YzfeN8CB6SzNPyPm2XjRRqSixDopTapaRsnTpXUEY8%3D' (2025-05-26)
  → 'github:numtide/treefmt-nix/a05be418a1af1198ca0f63facb13c985db4cb3c5?narHash=sha256-eEy8cuS0mZ2j/r/FE0/LYBSBcIs/MKOIVakwHVuqTfk%3D' (2025-06-06)
2025-06-11 09:02:58 +00:00
nixvim-ci[bot]
235d20db0c flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/c621e8422220273271f52058f618c94e405bb0f5?narHash=sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY%3D' (2025-04-01)
  → 'github:hercules-ci/flake-parts/9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569?narHash=sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98%3D' (2025-06-08)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3d1f29646e4b57ed468d60f9d286cde23a8d1707?narHash=sha256-B3BsCRbc%2Bx/d0WiG1f%2BqfSLUy%2BoiIfih54kalWBi%2B/M%3D' (2025-05-28)
  → 'github:NixOS/nixpkgs/cdc68935eba9f86d155585fdf6f17af6824f38ac?narHash=sha256-How2kQw0psKmCdXgojc95Sf3K5maHB3qfINxTZFCAPM%3D' (2025-06-10)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/f8a1c221afb8b4c642ed11ac5ee6746b0fe1d32f?narHash=sha256-PP11GVwUt7F4ZZi5A5%2B99isuq39C59CKc5u5yVisU/U%3D' (2025-05-26)
  → 'github:NuschtOS/search/4029d450d0266909ee52775849b7da54e79b328e?narHash=sha256-UB8Mc88rW9frjpJ1Fj2ro7f07Gg8dX3uVXvMXnFR4CE%3D' (2025-06-10)
2025-06-11 09:02:58 +00:00
XhuyZ
7eb08d84a8 add @XhuyZ config
Some checks are pending
Build and deploy documentation / deploy (push) Waiting to run
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
2025-06-11 06:30:09 +00:00
Gaetan Lepage
e0b3d8bc3a plugins/kitty-navigator: init
Some checks failed
Build and deploy documentation / deploy (push) Has been cancelled
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
2025-06-09 19:21:44 +00:00
Gaetan Lepage
73417a761e plugins/ansiesc: init 2025-06-09 19:13:01 +00:00
sportshead
2b6f694b48 output: add extraPackagesAfter option
Some checks are pending
Build and deploy documentation / deploy (push) Waiting to run
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Allow users to add packages to the end of `PATH` in the neovim wrapper.
This is useful for LSP versions that might need to be overriden based on
the environment, e.g. `haskell-language-server` versions provided by a
project's devshell.
2025-06-08 22:14:58 +00:00
Fay Ash
dce571fae5 plugins/neotest: allow raw lua for quickfix.open setting 2025-06-08 12:07:09 +00:00
Matt Sturgeon
00524c7935 update-scripts/update: fix 'has changed' condition when not committing 2025-06-06 09:09:57 +00:00
Matt Sturgeon
743e777484 update-scripts/update: fix call to version-info
The binary is at `result/bin/version-info`, not `result` itself.
2025-06-06 09:09:57 +00:00
Matt Sturgeon
635a9e770f ci/flakestry-publish-rolling: add workflow name 2025-06-05 07:16:48 +00:00
Matt Sturgeon
3085f86473 ci/flakehub-publish-rolling: use context for repo name 2025-06-05 07:16:48 +00:00
Matt Sturgeon
64dea7008f ci: check repo before running publish jobs 2025-06-05 07:16:48 +00:00
Heitor Augusto
60f1c85237 plugins/treesitter: prevent mkRaw over-injection by removing injection.combined 2025-06-05 02:19:33 +00:00
Matt Sturgeon
1d8724144c lib/options: add TODO regarding lua-types
`defaultNullOpts` is generally used for representing lua-options.

We should probably a) rename it something like `luaOptions` and switch
out the primitive types to use the new `lua-types`.
2025-06-04 09:07:48 +00:00
Matt Sturgeon
57b61e4267 lib/lua-types: init
An initial set of option types for representing values serialisable into
lua.
2025-06-04 09:07:48 +00:00
Matt Sturgeon
9328f4437d
update-scripts/version-info: get channel status for supported versions
Fetch channel info from NixOS/infra, the canonical source of truth.
2025-06-03 10:29:20 +01:00
Matt Sturgeon
a95db128a6
update-scripts/version-info: convert to a script
This will allow us to do impure things if needed.
2025-06-03 10:29:20 +01:00
Matt Sturgeon
80934be3e9
ci/update: fix how 're-apply' finds the 'base' commit
We need to look for a commit authored by `nixvim-ci[bot]`,
not `github-actions[bot]`.
2025-06-03 10:22:09 +01:00
Matt Sturgeon
2d60548ab1
ci/update: cleanup how we get nixvim-ci's user-info
Get id, name, & email in a single `user-info` step.
2025-06-03 10:22:09 +01:00
Stanislav Asunkin
d063d0dd5e plugins/treesitter: don't exclude nvim-treesitter from combining by default
Nvim-treesitter's parsers from nixpkgs don't include grammars anymore.
Originally it was added to standalonePlugins as workaround.
If the user has some other plugin containing treesitter queries, this
change can cause a build failure due to collisions. But since it is
easier to add the plugin to standalonePlugins compared to removing it, I
think this should be the default.
2025-06-02 20:15:06 +03:00
Stanislav Asunkin
65d35db5ca modules/performance: fix specifying combinePlugin.standalonePlugins as packages when byte compilation enabled
Previously, specifying plugins as packages in the
`performance.combinePlugins.standalonePlugins` option did not work when
the `performance.byteCompileLua` option was also enabled. This issue was
due to several package transformations performed by the
`byteCompileLua` which broke package comparison.

There are at least three methods to fix the issue:

- Change transformation order: combine plugins first, then byte-compile
  them.
- Compare every possible transformation when determining if plugins are
  standalone.
- Get the name of the package and use it for comparison.

The first method did not work because the current `byteCompileLuaDrv`
implementation does not support symlinks to directories. The second
method appears too fragile. This commit implements the third method, as
it requires minimal code changes and is straightforward. The downside is
that it might exclude multiple packages with the same name, although
this should be rare.
2025-06-02 18:15:32 +03:00
Matt Sturgeon
6c456efc96
flake/ci: re-enable package tests on buildbot 2025-05-30 22:07:23 +01:00
Matt Sturgeon
7d0ac00557
flake/ci: re-enable most tests on buildbot
Most still run on all platforms, but many now only run on x86_64-linux.
2025-05-30 20:56:17 +01:00
Matt Sturgeon
74e6ada9d1
buildbot: init config 2025-05-30 20:56:17 +01:00
Matt Sturgeon
e18d3fb280
flake/ci: add ci.buildbot output
Adds top-level and per-system `ci.buildbot` option for defining tests to
build on buildbot.

These are exposed as the `ci.buildbot.«system»` flake output.
2025-05-30 20:56:17 +01:00
Matt Sturgeon
8b3a69cfea
ci/backport: init
Adds a GitHub workflow to create backport PRs when merged PRs have a
"backport" label.

Based on the workflow used by nixpkgs:
2566f9dc/.github/workflows/backport.yml
2025-05-30 01:20:05 +01:00
nixvim-ci[bot]
a9e45072d8 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/e0042dedfbc9134ef973f64e5c7f56a38cc5cc97?narHash=sha256-PsZAY3H0e/PBoDVn4fLwGEmeSwESj7SZPZ6CMfgbWFU%3D' (2025-05-27)
  → 'github:NixOS/nixpkgs/3d1f29646e4b57ed468d60f9d286cde23a8d1707?narHash=sha256-B3BsCRbc%2Bx/d0WiG1f%2BqfSLUy%2BoiIfih54kalWBi%2B/M%3D' (2025-05-28)
• Updated input 'home-manager':
    'github:nix-community/home-manager/f5b12be834874f7661db4ced969a621ab2d57971?narHash=sha256-7sCuihzsTRZemtbTXaFUoGJUfuQErhKEcL9v7HKIo1k%3D' (2025-05-28)
  → 'github:nix-community/home-manager/95c988cf08e9a5a8fe7cc275d5e3f24e9e87bd51?narHash=sha256-uGnudxMoQi2c8rpPoHXuQSm80NBqlOiNF4xdT3hhzLM%3D' (2025-05-29)
2025-05-29 12:16:40 +00:00
nixvim-ci[bot]
1610b11b47 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e0042dedfbc9134ef973f64e5c7f56a38cc5cc97?narHash=sha256-PsZAY3H0e/PBoDVn4fLwGEmeSwESj7SZPZ6CMfgbWFU%3D' (2025-05-27)
  → 'github:NixOS/nixpkgs/3d1f29646e4b57ed468d60f9d286cde23a8d1707?narHash=sha256-B3BsCRbc%2Bx/d0WiG1f%2BqfSLUy%2BoiIfih54kalWBi%2B/M%3D' (2025-05-28)
2025-05-29 12:16:34 +00:00
Matt Sturgeon
28a2abf874
docs/server: simplify using http-server
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-29 01:04:04 +01:00
Gaetan Lepage
af5a0deadd tests/openscad: disable on darwin (broken dependency)
https://github.com/NixOS/nixpkgs/issues/411700
2025-05-28 21:33:48 +02:00