about summary refs log tree commit diff
path: root/.build.yml
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-01 23:52:03 +0900
committersefidel <contact@sefidel.net>2022-01-01 23:52:27 +0900
commit475444a7ab3ee287ac86ce5f7bb7c1c25525c232 (patch)
treef352826556c64742a5e1e63b1088a1897e893906 /.build.yml
parent64de7aa8e92b8c3cefcfb6b363256c8922157cbf (diff)
downloadnixrc-475444a7ab3ee287ac86ce5f7bb7c1c25525c232.tar.gz
nixrc-475444a7ab3ee287ac86ce5f7bb7c1c25525c232.zip
ci: add build manifest
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml19
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 ./
+