mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
42 lines
890 B
Nix
42 lines
890 B
Nix
{ pkgs }:
|
|
|
|
with import ./lib.nix;
|
|
|
|
self: super: {
|
|
|
|
# Disable GHC 7.9.x core libraries.
|
|
array = null;
|
|
base = null;
|
|
binary = null;
|
|
bin-package-db = null;
|
|
bytestring = null;
|
|
Cabal = null;
|
|
containers = null;
|
|
deepseq = null;
|
|
directory = null;
|
|
filepath = null;
|
|
ghc-prim = null;
|
|
haskeline = null;
|
|
hoopl = null;
|
|
hpc = null;
|
|
integer-gmp = null;
|
|
pretty = null;
|
|
process = null;
|
|
rts = null;
|
|
template-haskell = null;
|
|
terminfo = null;
|
|
time = null;
|
|
transformers = null;
|
|
unix = null;
|
|
xhtml = null;
|
|
|
|
# haddock: internal error: expectJust getPackageDetails
|
|
mkDerivation = drv: super.mkDerivation (drv // { noHaddock = true; });
|
|
|
|
# Setup: At least the following dependencies are missing: base <4.8
|
|
hspec-expectations = overrideCabal super.hspec-expectations (drv: {
|
|
patchPhase = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";
|
|
});
|
|
|
|
}
|