Commit graph

7 commits

Author SHA1 Message Date
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
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
Matt Sturgeon
14c7f5f896
dev/tests: add --attr option to print full attrpath of tests
Allows using the `tests` devshell command to discover the full attrpath
of a test.

e.g.

```
$ tests --attr modules-lsp plugins-by-name-lazygit
Printing 2 tests: modules-lsp plugins-by-name-lazygit

Full attr paths:
- checks.x86_64-linux.test-2.entries.modules-lsp
- checks.x86_64-linux.test-18.entries.plugins-by-name-lazygit
```
2025-05-19 20:40:10 +01:00
Matt Sturgeon
2628efee71
flake/devshell: add treefmt to shell 2025-05-16 04:29:34 +01:00
Matt Sturgeon
4c989abc8c
flake/devshell: run treefmt directly in format command
This is much faster than running `nix fmt`.

Running treefmt directly will use the treefmt installed in the current
shell. Running `nix fmt` will first re-evaluate the flake.
2025-05-16 04:29:34 +01:00
Matt Sturgeon
6d10fc0c87
flake: partition dev dependencies
This removes the need for end-users to manually set
`nixvim.inputs.devshell.follows = ""` (etc)

We offload evaluation of some of our flake modules into a `dev`
partition submodule.
- When its not needed, this submodule is not evaluated.
- When it is needed, it fetches extra inputs from `flake/dev/flake.nix`
  as part of evaluating the submodule.

See https://flake.parts/options/flake-parts-partitions.html
2025-02-23 17:23:57 +00:00
Gaetan Lepage
998bae9dac flake-modules -> flake 2025-01-19 12:56:24 +01:00
Renamed from flake-modules/dev/devshell.nix (Browse further)