Skip to content

Overriding a tool in flake-parts module requires mkForce #342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MangoIV opened this issue Aug 24, 2023 · 2 comments
Closed

Overriding a tool in flake-parts module requires mkForce #342

MangoIV opened this issue Aug 24, 2023 · 2 comments

Comments

@MangoIV
Copy link
Contributor

MangoIV commented Aug 24, 2023

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.

@domenkozar
Copy link
Member

This is a good candidate for #196

@sandydoo
Copy link
Member

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants