mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 20:08:28 +01:00
Compare commits
No commits in common. "ac225efa0ba1f393453c7c5e649ff7b2680dd46a" and "54433591bfe1c80ebd8862a854e9f7047a85be61" have entirely different histories.
ac225efa0b
...
54433591bf
2 changed files with 2 additions and 8 deletions
|
|
@ -4,10 +4,7 @@
|
|||
{ inputs', pkgs, ... }:
|
||||
{
|
||||
checks = {
|
||||
formatting =
|
||||
"${self}/treefmt.nix"
|
||||
|> inputs.treefmt.lib.evalModule pkgs
|
||||
|> (formatter: formatter.config.build.check self);
|
||||
formatting = (inputs.treefmt.lib.evalModule pkgs "${self}/treefmt.nix").config.build.check self;
|
||||
|
||||
statix = pkgs.runCommand "statix" { buildInputs = [ inputs'.statix.packages.statix ]; } ''
|
||||
statix check ${self}
|
||||
|
|
|
|||
|
|
@ -3,9 +3,6 @@
|
|||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
formatter =
|
||||
"${self}/treefmt.nix"
|
||||
|> inputs.treefmt.lib.evalModule pkgs
|
||||
|> (formatter: formatter.config.build.wrapper);
|
||||
formatter = (inputs.treefmt.lib.evalModule pkgs "${self}/treefmt.nix").config.build.wrapper;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue