chore: integrate treefmt

This commit is contained in:
Julian Stiller 2025-02-17 23:24:51 +01:00
parent 3c95151c88
commit 2fe7988a48
6 changed files with 154 additions and 23 deletions

23
shell.nix Normal file
View file

@ -0,0 +1,23 @@
{
nixpkgs,
treefmtEval,
system,
...
}:
let
pkgs = nixpkgs.legacyPackages.${system};
packages = with pkgs; [
podman
direnv
git
];
in
{
default = pkgs.mkShell {
inherit packages;
# nativeBuildInputs = packages;
inputsFrom = [
treefmtEval.${pkgs.system}.config.build.devShell
];
};
}