Distro for Linux for WebAssembly
1{ inputs, ... }:
2{
3 imports = [ inputs.git-hooks.flakeModule ];
4
5 perSystem =
6 { config, ... }:
7 {
8 pre-commit.settings.hooks.treefmt = {
9 enable = true;
10 packageOverrides.treefmt = config.treefmt.build.wrapper;
11 };
12
13 make-shells.default.shellHook = config.pre-commit.installationScript;
14 };
15}