From 0eb939a2b1a2886f9d52f3bd764614f43330e96a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 25 Jul 2022 17:22:41 -0400 Subject: Run deadnix as a linter --- Biz/Bild.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Biz/Bild.nix') diff --git a/Biz/Bild.nix b/Biz/Bild.nix index e7aaf7f..ad56549 100644 --- a/Biz/Bild.nix +++ b/Biz/Bild.nix @@ -112,10 +112,10 @@ rec { installPhase = "exit 0"; } // { env = ghc; }; - env = nixpkgs.pkgs.mkShell { + env = let linters = with nixpkgs.pkgs; [ ormolu hlint deadnix ]; in nixpkgs.pkgs.mkShell { name = "bizdev"; # this should just be dev tools - buildInputs = with nixpkgs.pkgs; [ + buildInputs = with nixpkgs.pkgs; linters ++ [ gcc bild ctags @@ -131,7 +131,7 @@ rec { ]; }; - os = cfg: (nixpkgs.nixos (args: cfg)).toplevel; + os = cfg: (nixpkgs.nixos (_args: cfg)).toplevel; pkgs = { inherit (nixpkgs) git; }; -- cgit v1.2.3