summaryrefslogtreecommitdiff
path: root/Biz/Bild.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-07-25 17:22:41 -0400
committerBen Sima <ben@bsima.me>2022-07-25 17:47:27 -0400
commit0eb939a2b1a2886f9d52f3bd764614f43330e96a (patch)
tree177a6dcaa5d0ef89f05e0b9250463ec9f9044c94 /Biz/Bild.nix
parent953fc16e402c56798f26b7c3d1f38f23560b0faa (diff)
Run deadnix as a linter
Diffstat (limited to 'Biz/Bild.nix')
-rw-r--r--Biz/Bild.nix6
1 files changed, 3 insertions, 3 deletions
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; };