treefmt: migrate to nilla

This commit is contained in:
Nikodem Rabuliński 2025-03-23 20:58:02 +01:00
parent 265fba3908
commit e92e8c287d
Signed by: nrabulinski
SSH key fingerprint: SHA256:AZZVyfKStaCo8sbJB+3Rr/CRrlym1oEgw7vMnynJeR8
4 changed files with 33 additions and 31 deletions

View file

@ -55,13 +55,23 @@
name = "settei-base";
paths = with (getPkgs system); [
# TODO: wrappers
# helix
# fish
helix
fish
git-commit-last
git-fixup
];
}
);
formatter = {
inherit systems;
builder = "custom-load";
package =
{ system }:
let
eval = inputs.treefmt.lib.evalModule inputs.nixpkgs.legacyPackages.${system} ./treefmt.nix;
in
eval.config.build.wrapper;
};
};
config.shells.default = {