aboutsummaryrefslogtreecommitdiff
path: root/root/nix/apps.nix
diff options
context:
space:
mode:
authorvkcku <[email protected]>2026-06-01 08:34:40 +0530
committervkcku <[email protected]>2026-06-01 08:34:40 +0530
commit8de84188a4c4224e6dbddba4d51e554147d4327b (patch)
tree17a5c6adf886d0b610504d17dc47eb67ffe9fec4 /root/nix/apps.nix
parentroot: setup nix (diff)
root: add app to run nix checks in parallel
monorepo-revid: 271a8c2e65b328acb4d59682e560612525286d12
Diffstat (limited to 'root/nix/apps.nix')
-rw-r--r--root/nix/apps.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/root/nix/apps.nix b/root/nix/apps.nix
new file mode 100644
index 0000000..33f10f5
--- /dev/null
+++ b/root/nix/apps.nix
@@ -0,0 +1,17 @@
+{
+ perSystem =
+ { pkgs, ... }:
+ {
+ apps.lint = {
+ type = "app";
+ program = toString (
+ pkgs.writeShellScript "lint" ''
+ set -e
+
+ "${pkgs.nix-fast-build}/bin/nix-fast-build" --skip-cached --no-link "$@"
+ ''
+ );
+ meta.description = "run all the nix checks in parallel";
+ };
+ };
+}