flake/dev: use treefmt flake parts module (#1551)

Link: https://github.com/nix-community/stylix/pull/1551

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
awwpotato 2025-07-08 10:32:19 -07:00 committed by GitHub
parent 2a1ad27868
commit 8f3259dbc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 77 additions and 86 deletions

View file

@ -44,15 +44,14 @@
# Install git-hooks when activating the shell
shellHook = config.pre-commit.installationScript;
packages =
[
stylix-check
build-and-run-docs
inputs'.home-manager.packages.default
config.formatter
]
++ config.pre-commit.settings.enabledPackages
++ config.formatter.runtimeInputs;
packages = [
stylix-check
build-and-run-docs
inputs'.home-manager.packages.default
config.formatter
] ++ config.pre-commit.settings.enabledPackages;
inputsFrom = [ config.treefmt.build.devShell ];
};
ghc = pkgs.mkShell {