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:
parent
2a1ad27868
commit
8f3259dbc5
5 changed files with 77 additions and 86 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue