aboutsummaryrefslogtreecommitdiff
path: root/root
diff options
context:
space:
mode:
Diffstat (limited to 'root')
-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";
+ };
+ };
+}