mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2026-02-02 07:15:06 +01:00
chore: add treefmt
This commit is contained in:
parent
2e25d42c85
commit
1246175082
4 changed files with 41 additions and 9 deletions
|
|
@ -1,11 +1,21 @@
|
|||
{inputs, ...}: let
|
||||
inherit (inputs) pkgs devshell soonix;
|
||||
{
|
||||
cell,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs) pkgs devshell soonix treefmt;
|
||||
in {
|
||||
default = devshell.mkShell {
|
||||
imports = [soonix.devshellModule];
|
||||
packages = [
|
||||
pkgs.alejandra
|
||||
pkgs.nil
|
||||
(treefmt.mkWrapper pkgs {
|
||||
programs = {
|
||||
alejandra.enable = true;
|
||||
mdformat.enable = true;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
soonix.hooks.test = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue