haskellPackages.stack: Fix build of dependencies

* persistent-sqlite
* pantry
wip/yesman
Malte Brandy 4 years ago committed by Peter Simons
parent 8a559a2a08
commit dd75aa6b9b
  1. 2
      pkgs/development/haskell-modules/configuration-common.nix
  2. 8
      pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix

@ -1423,4 +1423,6 @@ self: super: {
# https://github.com/haskell/hackage-security/issues/247
hackage-security = dontCheck super.hackage-security;
# 2020-11-17: persistent-test is ahead of the persistent version in stack
persistent-sqlite = dontCheck super.persistent-sqlite;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

@ -83,14 +83,6 @@ self: super: {
sha256 = "0rgzrq0513nlc1vw7nw4km4bcwn4ivxcgi33jly4a7n3c1r32v1f";
});
# https://github.com/commercialhaskell/pantry/issues/21
pantry = appendPatch super.pantry (pkgs.fetchpatch {
name = "add-cabal-3.2.x-support.patch";
url = "https://patch-diff.githubusercontent.com/raw/commercialhaskell/pantry/pull/22.patch";
sha256 = "198hsfjsy83s7rp71llf05cwa3vkm74g73djg5p4sk4awm9s6vf2";
excludes = ["package.yaml"];
});
# hnix 0.9.0 does not provide an executable for ghc < 8.10, so define completions here for now.
hnix = generateOptparseApplicativeCompletion "hnix"
(overrideCabal super.hnix (drv: {

Loading…
Cancel
Save