Skip to content

nix: add support for ghc 9.0.1 #1995

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

Merged
merged 17 commits into from
Jul 4, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't use overrideScope
  • Loading branch information
berberman committed Jul 2, 2021
commit 978f060dc3cc20a9056f5d0c5567f37db08ef559
13 changes: 5 additions & 8 deletions configuration-ghc-901.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,11 @@ let
hself.callCabal2nix "dependent-sum" "${dependent-sum-src}/dependent-sum"
{ };

# Copied from https://github.com/NixOS/nixpkgs/blob/2e672ed71afb9d0cea962b694ddb4e63a9ee00eb/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix#L109
hlint = (hself.callCabal2nix "hlint" hlint_3_3_1-src { }).overrideScope
(self: super: {
ghc-lib-parser = overrideCabal self.ghc-lib-parser_9_0_1_20210324 {
doHaddock = false;
};
ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_0_0_4;
});
hlint = hself.callCabal2nix "hlint" hlint_3_3_1-src { };

ghc-lib-parser = hself.ghc-lib-parser_9_0_1_20210324;

ghc-lib-parser-ex = hself.ghc-lib-parser-ex_9_0_0_4;

# Disable plugins
haskell-language-server =
Expand Down