diff options
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..51c9a94 --- /dev/null +++ b/.build.yml @@ -0,0 +1,19 @@ +image: nixos/unstable + +repositories: + nixpkgs: https://nixos.org/channels/nixos-unstable-small + +packages: + - nixpkgs.nixpkgs-fmt + +sources: + - https://git.sr.ht/~boppy/nixrc + +tasks: + - check: | + cd nixrc + nix --extra-experimental-features 'nix-command flakes' flake check + - format: | + cd nixrc + nixpkgs-fmt --check ./ + |