mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 14:19:08 +01:00
formatter: Refactor
This commit is contained in:
parent
7d1a0087da
commit
ac225efa0b
1 changed files with 4 additions and 1 deletions
|
|
@ -3,6 +3,9 @@
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
formatter = (inputs.treefmt.lib.evalModule pkgs "${self}/treefmt.nix").config.build.wrapper;
|
formatter =
|
||||||
|
"${self}/treefmt.nix"
|
||||||
|
|> inputs.treefmt.lib.evalModule pkgs
|
||||||
|
|> (formatter: formatter.config.build.wrapper);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue