From 463829e7f8b2258d57cfda1b7c6d194c4bcf5987 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 16 Nov 2022 15:00:30 -0700 Subject: [PATCH] fmt: fix usage of deadnix --- flake.nix | 2 +- fmt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index ba4cb16..6076186 100644 --- a/flake.nix +++ b/flake.nix @@ -209,7 +209,7 @@ inherit pkgs; isUnstable = true; }; - xintray = xintray.packages.${system}.xintray; + inherit (xintray.packages.${system}) xintray; }); templates."ada" = { diff --git a/fmt b/fmt index 807b8df..226cb0a 100755 --- a/fmt +++ b/fmt @@ -4,7 +4,8 @@ set -e find . -name \*.nix -exec nix fmt {} \+ find . -name \*.sh -exec shfmt -w {} \+ -find . -name \*.nix -exec deadnix -f -l -L {} \+ + +deadnix -f -l -L . shfmt -w deploy shfmt -w mkboot statix check .