Skip to content

Commit 978f060

Browse files
committed
Don't use overrideScope
1 parent c9f963d commit 978f060

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

configuration-ghc-901.nix

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,11 @@ let
7878
hself.callCabal2nix "dependent-sum" "${dependent-sum-src}/dependent-sum"
7979
{ };
8080

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

9087
# Disable plugins
9188
haskell-language-server =

0 commit comments

Comments
 (0)