mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
updated lint command
This commit is contained in:
parent
a2c26daf4a
commit
bcea731103
2 changed files with 11 additions and 2 deletions
|
|
@ -74,6 +74,11 @@
|
|||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.sops
|
||||
(pkgs.writeShellScriptBin "lint" ''
|
||||
deadnix -qe "$1"
|
||||
statix fix -- "$1"
|
||||
alejandra -q "$1"
|
||||
'')
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -87,7 +92,7 @@
|
|||
];
|
||||
};
|
||||
}
|
||||
// lib.mkPackages ./packages pkgs ;
|
||||
// lib.mkPackages ./packages pkgs;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue