Commit graph

3453 commits

Author SHA1 Message Date
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
nixvim-ci[bot]
138dd37c1f flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/3108eaa516ae22c2360928589731a4f1581526ef?narHash=sha256-P3u2PXxMlo49PutQLnk2PhI/imC69hFl1yY4aT5Nax8%3D' (2025-05-26)
  → 'github:NixOS/nixpkgs/e0042dedfbc9134ef973f64e5c7f56a38cc5cc97?narHash=sha256-PsZAY3H0e/PBoDVn4fLwGEmeSwESj7SZPZ6CMfgbWFU%3D' (2025-05-27)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d23d20f55d49d8818ac1f1b2783671e8a6725022?narHash=sha256-SaSdslyo6UGDpPUlmrPA4dWOEuxCy2ihRN9K6BnqYsA%3D' (2025-05-26)
  → 'github:nix-community/home-manager/f5b12be834874f7661db4ced969a621ab2d57971?narHash=sha256-7sCuihzsTRZemtbTXaFUoGJUfuQErhKEcL9v7HKIo1k%3D' (2025-05-28)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/a9939228f661df370c4094fe85f683e45d761dbe?narHash=sha256-mmonYFesFo42UUS49Hd0bcbVJRWX/aHBCDYUkkvylf4%3D' (2025-05-25)
  → 'github:lnl7/nix-darwin/44a7d0e687a87b73facfe94fba78d323a6686a90?narHash=sha256-sNUUP6qxGkK9hXgJ%2Bp362dtWLgnIWwOCmiq72LAWtYo%3D' (2025-05-27)
2025-05-28 12:17:07 +00:00
nixvim-ci[bot]
2bd55f130a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3108eaa516ae22c2360928589731a4f1581526ef?narHash=sha256-P3u2PXxMlo49PutQLnk2PhI/imC69hFl1yY4aT5Nax8%3D' (2025-05-26)
  → 'github:NixOS/nixpkgs/e0042dedfbc9134ef973f64e5c7f56a38cc5cc97?narHash=sha256-PsZAY3H0e/PBoDVn4fLwGEmeSwESj7SZPZ6CMfgbWFU%3D' (2025-05-27)
2025-05-28 12:16:59 +00:00
nixvim-ci[bot]
65b1bffd3d flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/bdac72d387dca7f836f6ef1fe547755fb0e9df61?narHash=sha256-UQubDNIQ/Z42R8tPCIpY%2BBOhlxO8t8ZojwC9o2FW3c8%3D' (2025-05-25)
  → 'github:NixOS/nixpkgs/3108eaa516ae22c2360928589731a4f1581526ef?narHash=sha256-P3u2PXxMlo49PutQLnk2PhI/imC69hFl1yY4aT5Nax8%3D' (2025-05-26)
2025-05-27 12:17:18 +00:00
nixvim-ci[bot]
4876c32a4f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bdac72d387dca7f836f6ef1fe547755fb0e9df61?narHash=sha256-UQubDNIQ/Z42R8tPCIpY%2BBOhlxO8t8ZojwC9o2FW3c8%3D' (2025-05-25)
  → 'github:NixOS/nixpkgs/3108eaa516ae22c2360928589731a4f1581526ef?narHash=sha256-P3u2PXxMlo49PutQLnk2PhI/imC69hFl1yY4aT5Nax8%3D' (2025-05-26)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/066afe8643274470f4a294442aadd988356a478f?narHash=sha256-8v4y6k16Ra/fiecb4DxhsoOGtzLKgKlS%2B9/XJ9z0T2I%3D' (2025-04-19)
  → 'github:NuschtOS/search/f8a1c221afb8b4c642ed11ac5ee6746b0fe1d32f?narHash=sha256-PP11GVwUt7F4ZZi5A5%2B99isuq39C59CKc5u5yVisU/U%3D' (2025-05-26)
• Updated input 'nuschtosSearch/ixx':
    'github:NuschtOS/ixx/a1176e2a10ce745ff8f63e4af124ece8fe0b1648?narHash=sha256-fTVAWzT1UMm1lT%2BYxHuVPtH%2BDATrhYfea3B0MxG/cGw%3D' (2025-01-20)
  → 'github:NuschtOS/ixx/cc5f390f7caf265461d4aab37e98d2292ebbdb85?narHash=sha256-FVO01jdmUNArzBS7NmaktLdGA5qA3lUMJ4B7a05Iynw%3D' (2025-05-26)
2025-05-27 12:17:11 +00:00
nixvim-ci[bot]
91ee94cde3 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/bdac72d387dca7f836f6ef1fe547755fb0e9df61?narHash=sha256-UQubDNIQ/Z42R8tPCIpY%2BBOhlxO8t8ZojwC9o2FW3c8%3D' (2025-05-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/c1e671036224089937e111e32ea899f59181c383?narHash=sha256-5PBK1nV8X39K3qUj8B477Aa2RdbLq3m7wRxUKRtggX4%3D' (2025-05-25)
  → 'github:nix-community/home-manager/d23d20f55d49d8818ac1f1b2783671e8a6725022?narHash=sha256-SaSdslyo6UGDpPUlmrPA4dWOEuxCy2ihRN9K6BnqYsA%3D' (2025-05-26)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/020cb423808365fa3f10ff4cb8c0a25df35065a3?narHash=sha256-XgxghfND8TDypxsMTPU2GQdtBEsHTEc3qWE6RVEk8O0%3D' (2025-05-22)
  → 'github:numtide/treefmt-nix/1f3f7b784643d488ba4bf315638b2b0a4c5fb007?narHash=sha256-9YzfeN8CB6SzNPyPm2XjRRqSixDopTapaRsnTpXUEY8%3D' (2025-05-26)
2025-05-26 12:16:10 +00:00
nixvim-ci[bot]
ab0264c3a8 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/bdac72d387dca7f836f6ef1fe547755fb0e9df61?narHash=sha256-UQubDNIQ/Z42R8tPCIpY%2BBOhlxO8t8ZojwC9o2FW3c8%3D' (2025-05-25)
2025-05-26 12:16:04 +00:00
Alex Hamilton
b37d429468 flake/wrappers: Deprecate homeManagerModules output 2025-05-25 14:18:50 -04:00
Alex Hamilton
e4a27ae810 flake/wrappers: Make homeModules the canonical name 2025-05-25 12:43:10 -04:00
Alex Hamilton
c10f60d007 Migrate homeManagerModules uses to homeModules 2025-05-25 12:41:12 -04:00
Alex Hamilton
c1a14f8f5c flake/wrappers: Add homeModules flake output 2025-05-25 12:41:12 -04:00
Andrey Petrov
1c5c991fda
modules/lsp/servers: Fix lua_ls example
Example was referring to `luals` instead of `lua_ls`
2025-05-25 11:29:19 -04:00
nixvim-ci[bot]
f54941e333 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/7419250703fd5eb50e99bdfb07a86671939103ea?narHash=sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ%3D' (2025-05-23)
  → 'github:nix-community/home-manager/c1e671036224089937e111e32ea899f59181c383?narHash=sha256-5PBK1nV8X39K3qUj8B477Aa2RdbLq3m7wRxUKRtggX4%3D' (2025-05-25)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/acd6aa5a9065c6695212be313e06f08f7184cb25?narHash=sha256-dFqlLNW6UW19m0vg5FHWLH2G2LGkqYyPs/4YqfoZMoM%3D' (2025-05-24)
  → 'github:lnl7/nix-darwin/a9939228f661df370c4094fe85f683e45d761dbe?narHash=sha256-mmonYFesFo42UUS49Hd0bcbVJRWX/aHBCDYUkkvylf4%3D' (2025-05-25)
2025-05-25 12:14:38 +00:00
nixvim-ci[bot]
2c0a9ff1e2 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae?narHash=sha256-IlAuXnIi%2BZmyS89tt1YOFDCv7FKs9bNBHd3MXMp8PxE%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/93562b65cf68612a544779c9f77536f9dff01096?narHash=sha256-i73u8NLiqewGy0iIriH4XizatLnAojXxzrBqHJEz49E%3D' (2025-05-23)
  → 'github:lnl7/nix-darwin/acd6aa5a9065c6695212be313e06f08f7184cb25?narHash=sha256-dFqlLNW6UW19m0vg5FHWLH2G2LGkqYyPs/4YqfoZMoM%3D' (2025-05-24)
2025-05-24 12:14:25 +00:00
nixvim-ci[bot]
5a07d9e5fd flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae?narHash=sha256-IlAuXnIi%2BZmyS89tt1YOFDCv7FKs9bNBHd3MXMp8PxE%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
2025-05-24 12:14:18 +00:00
Gaetan Lepage
764a9b8dda treewide: replace mentions of 24.11 with 25.05 2025-05-24 18:35:23 +10:00
Gaetan Lepage
f80d8d5907 ci/docs: build documentation for the nixos-25.05 branch 2025-05-24 18:35:23 +10:00
Matt Sturgeon
2f610f9754
maintaining: initial "Releasing" section 2025-05-23 22:02:06 +01:00
Matt Sturgeon
1350e87fa4
maintaining: add sub "Deprecation" section 2025-05-23 22:02:06 +01:00
Matt Sturgeon
f39dd42824
maintaining: init
Add a MAINTAINING.md file where we can document internal maintenance
procedures.
2025-05-23 22:02:06 +01:00
Matt Sturgeon
e3f4a57fb8
docs/mdbook: install directly to $out
This fixes a regression introduced by https://github.com/nix-community/nixvim/pull/3349
2025-05-23 21:50:22 +01:00
Gaetan Lepage
4dc8d1e918 plugins/vim-test: init 2025-05-24 06:26:17 +10:00
Gaetan Lepage
c457fe9424 plugins/dbee: init 2025-05-24 06:14:14 +10:00
Matt Sturgeon
d88fde1899
ci/update-other: trigger updates for 25.05 2025-05-23 20:32:58 +01:00
Matt Sturgeon
ad7e489aa1
ci/update: use nix-community GitHub App 2025-05-23 19:49:03 +01:00
Matt Sturgeon
fb2d007f95
ci/update-other: don't run on forks 2025-05-23 18:59:43 +01:00
Gaetan Lepage
73c1a755f0 flake/dev/new-plugin: add missing ';' 2025-05-23 22:37:41 +10:00
github-actions[bot]
380aabb981 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/a16efe5d2fc7455d7328a01f4692bfec152965b3?narHash=sha256-rSuxACdwx5Ndr2thpjqcG89fj8mSSp96CFoCt0yrdkY%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae?narHash=sha256-IlAuXnIi%2BZmyS89tt1YOFDCv7FKs9bNBHd3MXMp8PxE%3D' (2025-05-22)
• Updated input 'home-manager':
    'github:nix-community/home-manager/f9186c64fcc6ee5f0114547acf9e814c806a640b?narHash=sha256-tdVx4kghhdy62LKuTnwE2RytOe8o88tah/yhpyuL0D4%3D' (2025-05-22)
  → 'github:nix-community/home-manager/7419250703fd5eb50e99bdfb07a86671939103ea?narHash=sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ%3D' (2025-05-23)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/e2676937faf868111dcea6a4a9cf4b6549907c9d?narHash=sha256-oY/mH8K1LOd%2BYbO58sw9ORtOdTxy3rR9lvTzOJKVUtA%3D' (2025-05-21)
  → 'github:lnl7/nix-darwin/93562b65cf68612a544779c9f77536f9dff01096?narHash=sha256-i73u8NLiqewGy0iIriH4XizatLnAojXxzrBqHJEz49E%3D' (2025-05-23)
2025-05-23 12:16:32 +00:00
github-actions[bot]
d061f33d32 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a16efe5d2fc7455d7328a01f4692bfec152965b3?narHash=sha256-rSuxACdwx5Ndr2thpjqcG89fj8mSSp96CFoCt0yrdkY%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae?narHash=sha256-IlAuXnIi%2BZmyS89tt1YOFDCv7FKs9bNBHd3MXMp8PxE%3D' (2025-05-22)
2025-05-23 12:16:24 +00:00
Matt Sturgeon
46fd0b184c
version-info: init 2025-05-22 21:27:21 +01:00
Matt Sturgeon
cd7a41c23c
update-scripts/update: write version-info during update 2025-05-22 21:27:21 +01:00
Matt Sturgeon
132c1611f6
update-scripts: move update logic from CI to dedicated script 2025-05-22 21:27:21 +01:00
Matt Sturgeon
7a4c70c55f
update-scripts/version-info: init
Writes a version-info.toml file.
2025-05-22 17:01:18 +01:00
Matt Sturgeon
bfee503e0f
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.
2025-05-22 15:45:36 +01:00
Matt Sturgeon
e385bec735
contributing: add note on testing the docs 2025-05-22 13:56:18 +01:00
Matt Sturgeon
1ff5e1a33b
docs/server: open browser using xdg-open 2025-05-22 13:48:58 +01:00
Matt Sturgeon
601d4309ed
docs/server: print the URL once serving 2025-05-22 13:48:58 +01:00
Matt Sturgeon
f3342bdbd4
docs: refactor serve-docs; add nix run .#docs
Refactor `serve-docs` using `makeWrapper`, make it available as a
`serve-docs` package and as the `docs` "app".

This means `nix build .#docs` will build the docs while `nix run .#docs`
will run the server.
2025-05-22 13:48:58 +01:00
github-actions[bot]
5c49988a7c flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/ab0378b61b0d85e73a8ab05d5c6029b5bd58c9fb?narHash=sha256-bo1ptiFoNqm6m1B2iAhJmWCBmqveLVvxom6xKmtuzjg%3D' (2025-05-17)
  → 'github:numtide/treefmt-nix/020cb423808365fa3f10ff4cb8c0a25df35065a3?narHash=sha256-XgxghfND8TDypxsMTPU2GQdtBEsHTEc3qWE6RVEk8O0%3D' (2025-05-22)
2025-05-22 12:17:11 +00:00
github-actions[bot]
b288a5ff89 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/8406224e30c258025cb8b31704bdb977a8f1f009?narHash=sha256-%2B8goyptSXa7qV0k5uPKyky58jpBjI/qkzsbwCZFvhRY%3D' (2025-05-18)
  → 'github:NixOS/nixpkgs/2f9173bde1d3fbf1ad26ff6d52f952f9e9da52ea?narHash=sha256-NnXFQu7g4LnvPIPfJmBuZF7LFy/fey2g2%2BLCzjQhTUk%3D' (2025-05-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/45c2985644b60ab64de2a2d93a4d132ecb87cf66?narHash=sha256-FZq4/3OtGV/cti9Vccsy2tGSUrxTO4hkDF9oeGRTen4%3D' (2025-05-19)
  → 'github:nix-community/home-manager/2468b2d35512d093aeb04972a1d8c20a0735793f?narHash=sha256-2qAOSixSrbb9l6MI%2BSI4zGineOzDcc2dgOOFK9Dx%2BIY%3D' (2025-05-21)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/b9b927dd1f24094b271e8ec5277a672dc4fc860d?narHash=sha256-GMAJcB8oB9cC%2BTbYTE7QDfw9fwHZyloxUWnUpHnQRko%3D' (2025-05-17)
  → 'github:lnl7/nix-darwin/e2676937faf868111dcea6a4a9cf4b6549907c9d?narHash=sha256-oY/mH8K1LOd%2BYbO58sw9ORtOdTxy3rR9lvTzOJKVUtA%3D' (2025-05-21)
2025-05-22 21:42:03 +10:00