mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fix nix fmt
This commit is contained in:
parent
701ee8f205
commit
b1c13f4914
5 changed files with 7 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ writeShellApplication {
|
|||
fd
|
||||
];
|
||||
text = ''
|
||||
if [ -z "''${1:-""}" ]; then
|
||||
if [ -z "''${1:-""}" ] || [ "$1" == "." ]; then
|
||||
fd '.*\.nix' . -x statix fix -- {} \;
|
||||
fd '.*\.nix' . -X deadnix -e -- {} \; -X nixfmt {} \;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue