summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index ce6fcd5..4c81a45 100644
--- a/flake.nix
+++ b/flake.nix
@@ -85,6 +85,16 @@
script = "deadnix --fail ${self}";
};
+ flake-inputs = mkCheck {
+ name = "check-flake-inputs";
+ script = ''
+ if grep '_2' ${self}/flake.lock &>/dev/null; then
+ echo "FOUND DUPLICATE FLAKE INPUTS!!!!"
+ exit 1
+ fi
+ '';
+ };
+
just = mkCheck {
name = "check-just";
deps = [ pkgs.just ];