mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
Migrate flake outputs, config files, etc from buildbot-nix to nixbot. This is not urgent, because nixbot falls back to buildbot-nix.toml when nixbot.toml is missing.
17 lines
542 B
Nix
17 lines
542 B
Nix
{ lib, ... }:
|
|
{
|
|
perSystem =
|
|
{ config, system, ... }:
|
|
{
|
|
# Test that all packages build fine when running `nix flake check`.
|
|
checks = config.packages;
|
|
|
|
# Test that all packages build when running nixbot
|
|
# FIXME: we want to build most platforms on all systems,
|
|
# but building the docs is often too expensive.
|
|
# For now, we restrict the whole packages output to one platform.
|
|
# TODO: move building the docs to GHA
|
|
ci.nixbot = lib.mkIf (system == "x86_64-linux") config.packages;
|
|
};
|
|
}
|