We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e15f8d commit ccd8e0eCopy full SHA for ccd8e0e
flake.nix
@@ -169,18 +169,19 @@
169
170
shell.tools = {
171
cabal = "latest";
172
- hlint = "latest";
173
fourmolu = "latest";
174
- weeder = "latest";
175
haskell-language-server = {
176
src = nixpkgs.haskell-nix.sources."hls-2.9";
177
};
+ } // lib.optionalAttrs (config.compiler-nix-name == "ghc966") {
+ weeder = "latest";
178
179
# Now we use pkgsBuildBuild, to make sure that even in the cross
180
# compilation setting, we don't run into issues where we pick tools
181
# for the target.
182
shell.buildInputs = with nixpkgs.pkgsBuildBuild; [
183
gitAndTools.git
184
+ hlint
185
];
186
shell.withHoogle = true;
187
shell.crossPlatforms = _: [];
0 commit comments