Replies: 2 comments 7 replies
-
I don't think you are doing anything wrong. nixpkgs provides 9.2 by default (ie., haskellPackages.default = {
overrides = self: super: with pkgs.haskell.lib; {
ghcid = dontCheck super.ghcid;
};
} You want to override other failing packages in a similar fashion. Alternatively, you can use @locallycompact's https://horizon-haskell.net/ overlay in haskell-flake. There was an attempt here, https://github.com/srid/haskell-template/pull/55/files - I don't know where that stands right now ... |
Beta Was this translation helpful? Give feedback.
-
Thank you for replying, @srid. What surprised me is that the project was already using nix for getting all my build tools |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been curious about
haskell-flake
andflake-parts
for some time, so I tried to convert an existing project that's already using nix flakes tohaskell-flake
, but I wasn't able to get far, unfortunately.Here is the smallest broken flake file.
I get the following error:
Commenting out the
haskellPackages
line works, but I get ghc 9.2 instead of 9.4 which this project needs.Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions