treefmt: fix statix fmt
This commit is contained in:
parent
b973fda862
commit
8f97b01e8b
@ -3,10 +3,11 @@
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
emacsPkg = (if (pkgs.system == "x86_64-linux") then
|
||||
pkgs.emacs-pgtk
|
||||
else
|
||||
pkgs.emacs);
|
||||
emacsPkg =
|
||||
if (pkgs.system == "x86_64-linux") then
|
||||
pkgs.emacs-pgtk
|
||||
else
|
||||
pkgs.emacs;
|
||||
in
|
||||
emacsWithPackagesFromUsePackage {
|
||||
config = ../configs/emacs.org;
|
||||
|
@ -1,6 +1,9 @@
|
||||
[formatter.statix]
|
||||
command = "statix"
|
||||
options = ["check"]
|
||||
#command = "statix"
|
||||
#options = ["check"]
|
||||
command = "sh"
|
||||
options = ["-euc", "for file in \"$@\"; do statix check \"$file\"; done"]
|
||||
includes = [ "*.nix" ]
|
||||
priority = 1
|
||||
|
||||
[formatter.deadnix]
|
||||
|
Loading…
Reference in New Issue
Block a user