refactor outputs.nix
Splits everything into separate files.
This commit is contained in:
parent
afb2ca459e
commit
5b97801911
7 changed files with 83 additions and 73 deletions
9
checks.nix
Normal file
9
checks.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, formatter }:
|
||||
{
|
||||
format = pkgs.runCommand
|
||||
"check-format"
|
||||
{
|
||||
buildInputs = [ formatter ];
|
||||
}
|
||||
"${formatter}/bin/nixpkgs-fmt --check ${./.} && touch $out";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue