-
I need to override a package with a newer one. I could do so with The documentation https://zero-to-flakes.com/haskell-flake/dependency#nixpkgs says I can do this: haskellProjects.default = {
settings = { super, ... }: {
fourmolu.custom = super.fourmolu_0_13_1_0;
};
}; I use that syntax, but receive the error I've found relevant code, but I'm not sure how to understand it: haskell-flake/nix/modules/project/settings/all.nix Lines 307 to 323 in 63a1608 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It needs to be a function. See example at #192 where we also discuss the possibility of improving this interface. haskellProjects.default = {
settings = {
fourmolu = { super, ...}: { custom = _: super.fourmolu_0_13_1_0; };
};
}; |
Beta Was this translation helpful? Give feedback.
It needs to be a function. See example at #192 where we also discuss the possibility of improving this interface.