ghc841: cabal2nix fixed upstream

This commit is contained in:
Kosyrev Serge 2018-03-12 02:23:23 +03:00
parent 8f72b8a5c0
commit 662bc073b2
No known key found for this signature in database
GPG Key ID: 3F62F118E38BED6D

@ -194,6 +194,24 @@ self: super: {
};
});
## Upstreamed, awaiting a Hackage release
cabal2nix = (overrideCabal super.cabal2nix (drv: {
## Ambiguous occurrence <>
## It could refer to either Prelude.<>,
## imported from Prelude at src/Distribution/Nixpkgs/Haskell/Derivation.hs:6:8-46
src = pkgs.fetchFromGitHub {
owner = "nixos";
repo = "cabal2nix";
rev = "32974fcc3d9b485bd35167d9ae90941a5b3d06df";
sha256 = "1racp49z5922rvrc62clslzdkxh4axj2i0k83w5y6w5chl83abyd";
};
})).override {
## • No instance for (Semigroup (List a))
## arising from the 'deriving' clause of a data type declaration
## Possible fix:
hpack = self.hpack;
};
haskell-gi = overrideCabal super.haskell-gi (drv: {
## Setup: Encountered missing dependencies:
## haskell-gi-base ==0.20.*
@ -558,13 +576,6 @@ self: super: {
];
});
cabal2nix = super.cabal2nix.override {
## • No instance for (Semigroup (List a))
## arising from the 'deriving' clause of a data type declaration
## Possible fix:
hpack = self.hpack;
};
deepseq-generics = overrideCabal super.deepseq-generics (drv: {
## Setup: Encountered missing dependencies:
## base >=4.5 && <4.11