Conversation
| config._module.args.default_stages = cfg.default_stages; | ||
| }; | ||
| config._module.args.hookModule = config.hookModule; | ||
|
|
There was a problem hiding this comment.
This chunk could be moved out to a separate file if you like.
sandydoo
left a comment
There was a problem hiding this comment.
Oooooh! So _module.args are way more powerful than I initially thought. Great stuff!
You can't use it for imports in the same fixpoint (here: the root, or initial |
|
Looks like this commit broke something for me: Relevant part of the flake looks something like this: devShells.default = pkgs.mkShellNoCC { inherit (self.checks.${system}.preCommit) shellHook; };
checks.preCommit = pre-commit-hooks.lib.${system}.run {
src = ./.;
hooks = {
};
};P.S. The previous commit on the master branch works fine. |
|
@azahi, fixed |
|
Thanks for the fast fix 🥇 Works fine again on |
This removes a bit of duplication, and allows
hookModuleto be monkey patched.