From 184cd4e725e138d9b3e6ea7783616c7c00dc1fe4 Mon Sep 17 00:00:00 2001 From: Richard Huang Date: Tue, 11 Feb 2025 22:26:43 -0800 Subject: [PATCH] [make] Prefer installed deadnix with fallback --- nix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/Makefile b/nix/Makefile index c405168..42da7f7 100644 --- a/nix/Makefile +++ b/nix/Makefile @@ -42,7 +42,7 @@ fmt: ## Format code .PHONY: lint lint: ## Lint code nix fmt --accept-flake-config -- --check . - nix run github:astro/deadnix/main -- --fail + deadnix --fail || nix run github:astro/deadnix/main -- --fail nix flake check --all-systems --accept-flake-config .PHONY: help