git-hooks.nix icon indicating copy to clipboard operation
git-hooks.nix copied to clipboard

Overriding a tool in flake-parts module requires `mkForce`

Open MangoIV opened this issue 2 years ago • 1 comments

Currently, I have to settings.tools.fourmolu = lib.mkForce config.haskellProjects.default.outputs.finalPackages.fourmolu_0_13_1_0;

I would rather not use mkForce here, it would be nice if the toolset was defined with mkDefault in order to do so.

MangoIV avatar Aug 24 '23 11:08 MangoIV

This is a good candidate for #196

domenkozar avatar Oct 08 '23 13:10 domenkozar

@MangoIV, you can now override individual packages without going through tools:

{
  hooks.fourmolu.package = config.haskellProjects.default.outputs.finalPackages.fourmolu_0_13_1_0;
}

sandydoo avatar Mar 19 '24 17:03 sandydoo