chore: integrate treefmt
This commit is contained in:
parent
3c95151c88
commit
2fe7988a48
6 changed files with 154 additions and 23 deletions
23
shell.nix
Normal file
23
shell.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue