cabal2nix: fix overrides for Cabal 2.2.x

This commit is contained in:
Peter Simons 2018-03-09 17:39:51 +01:00
parent c5cf8dd57a
commit ee262b83ef
2 changed files with 5 additions and 1 deletions

View file

@ -607,7 +607,7 @@ self: super: {
};
# Need newer versions of their dependencies than the ones we have in LTS-10.x.
cabal2nix = super.cabal2nix.override { hpack = self.hpack_0_27_0; };
cabal2nix = super.cabal2nix.overrideScope (self: super: { hpack = self.hpack_0_27_0; hackage-db = self.hackage-db_2_0_1; });
hlint = super.hlint.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_20_2; });
# https://github.com/bos/configurator/issues/22

View file

@ -100,5 +100,9 @@ self: super: {
Cabal = self.Cabal_2_2_0_0;
text = self.text_1_2_3_0;
});
cabal2nix = super.cabal2nix.overrideScope (self: super: {
Cabal = self.Cabal_2_2_0_0;
text = self.text_1_2_3_0;
});
}