Skip to content

Commit

Permalink
haskellPackages.stack: Fix build of dependencies
Browse files Browse the repository at this point in the history
* persistent-sqlite
* pantry
  • Loading branch information
maralorn authored and peti committed Nov 20, 2020
1 parent 8a559a2 commit dd75aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Expand Up @@ -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
8 changes: 0 additions & 8 deletions pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix
Expand Up @@ -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: {
Expand Down

0 comments on commit dd75aa6

Please sign in to comment.