Skip to content

Commit

Permalink
Synchronize Haskell package set from 'master'.
Browse files Browse the repository at this point in the history
  • Loading branch information
peti committed Mar 6, 2017
1 parent fce036d commit c0ecd31
Show file tree
Hide file tree
Showing 12 changed files with 948 additions and 184 deletions.
24 changes: 10 additions & 14 deletions pkgs/development/haskell-modules/configuration-common.nix
Expand Up @@ -448,6 +448,16 @@ self: super: {
apiary-session = dontCheck super.apiary-session;
apiary-websockets = dontCheck super.apiary-websockets;

# See instructions provided by Peti in https://github.com/NixOS/nixpkgs/issues/23036
purescript = super.purescript.overrideScope (self: super: {
# TODO: Re-evaluate the following overrides after the 0.11 release.
aeson = self.aeson_0_11_3_0;
http-client = self.http-client_0_4_31_2;
http-client-tls = self.http-client-tls_0_2_4_1;
pipes = self.pipes_4_2_0;
websockets = self.websockets_0_9_8_2;
});

# HsColour: Language/Unlambda.hs: hGetContents: invalid argument (invalid byte sequence)
unlambda = dontHyperlinkSource super.unlambda;

Expand Down Expand Up @@ -624,20 +634,6 @@ self: super: {
haskell-src-exts = self.haskell-src-exts_1_19_1;
};

# https://github.com/yesodweb/Shelly.hs/issues/106
# https://github.com/yesodweb/Shelly.hs/issues/108
# https://github.com/yesodweb/Shelly.hs/issues/130
shelly =
let drv = appendPatch (dontCheck (doJailbreak super.shelly)) (pkgs.fetchpatch {
url = "https://github.com/k0001/Shelly.hs/commit/32a1e290961755e7b2379f59faa49b13d03dfef6.patch";
sha256 = "0ccq0qly8bxxv64dk97a44ng6hb01j6ajs0sp3f2nn0hf5j3xv69";
});
in overrideCabal drv (drv : {
# doJailbreak doesn't seem to work for build-depends inside an
# if-then-else block so we have to do it manually.
postPatch = "sed -i 's/base >=4\.6 \&\& <4\.9\.1/base -any/' shelly.cabal";
});

# https://github.com/bos/configurator/issues/22
configurator = dontCheck super.configurator;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
Expand Up @@ -43,9 +43,9 @@ self: super: {
# These packages are core libraries in GHC 7.10.x, but not here.
binary = self.binary_0_8_4_1;
deepseq = self.deepseq_1_3_0_1;
haskeline = self.haskeline_0_7_2_1;
haskeline = self.haskeline_0_7_3_1;
hoopl = self.hoopl_3_10_2_0;
terminfo = self.terminfo_0_4_0_1;
terminfo = self.terminfo_0_4_0_2;
transformers = self.transformers_0_4_3_0;
xhtml = self.xhtml_3000_2_1;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix
Expand Up @@ -37,9 +37,9 @@ self: super: {
# These packages are core libraries in GHC 7.10.x, but not here.
binary = self.binary_0_7_6_1;
deepseq = self.deepseq_1_3_0_1;
haskeline = self.haskeline_0_7_2_1;
haskeline = self.haskeline_0_7_3_1;
hoopl = self.hoopl_3_10_2_0;
terminfo = self.terminfo_0_4_0_1;
terminfo = self.terminfo_0_4_0_2;
transformers = self.transformers_0_4_3_0;
xhtml = self.xhtml_3000_2_1;

Expand Down
Expand Up @@ -191,6 +191,7 @@ self: super: {
unordered-containers = dontCheck super.unordered-containers;

# GHC versions prior to 8.x require additional build inputs.
dependent-map = addBuildDepend super.dependent-map self.semigroups;
distributive = addBuildDepend super.distributive self.semigroups;
mono-traversable = addBuildDepend super.mono-traversable self.semigroups;
attoparsec = addBuildDepends super.attoparsec (with self; [semigroups fail]);
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix
Expand Up @@ -36,8 +36,8 @@ self: super: {

# These packages are core libraries in GHC 7.10.x, but not here.
deepseq = self.deepseq_1_3_0_1;
haskeline = self.haskeline_0_7_2_1;
terminfo = self.terminfo_0_4_0_1;
haskeline = self.haskeline_0_7_3_1;
terminfo = self.terminfo_0_4_0_2;
transformers = self.transformers_0_4_3_0;
xhtml = self.xhtml_3000_2_1;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
Expand Up @@ -35,8 +35,8 @@ self: super: {
unix = null;

# These packages are core libraries in GHC 7.10.x, but not here.
haskeline = self.haskeline_0_7_2_1;
terminfo = self.terminfo_0_4_0_1;
haskeline = self.haskeline_0_7_3_1;
terminfo = self.terminfo_0_4_0_2;
transformers = self.transformers_0_4_3_0;
xhtml = self.xhtml_3000_2_1;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
Expand Up @@ -34,8 +34,8 @@ self: super: {
unix = null;

# These packages are core libraries in GHC 7.10.x, but not here.
haskeline = self.haskeline_0_7_2_1;
terminfo = self.terminfo_0_4_0_1;
haskeline = self.haskeline_0_7_3_1;
terminfo = self.terminfo_0_4_0_2;
transformers = self.transformers_0_4_3_0;
xhtml = self.xhtml_3000_2_1;

Expand Down
Expand Up @@ -65,7 +65,7 @@ self: super: {
mkDerivation = drv: super.mkDerivation (drv // { doCheck = false; });
mtl = super.mtl_2_2_1;
transformers = super.transformers_0_4_3_0;
haskeline = self.haskeline_0_7_2_1;
haskeline = self.haskeline_0_7_3_1;
transformers-compat = disableCabalFlag super.transformers-compat "three";
})) (drv: {});

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/haskell-modules/configuration-ghcjs.nix
Expand Up @@ -47,10 +47,10 @@ self: super:

# These packages are core libraries in GHC 7.10.x, but not here.
bin-package-db = null;
haskeline = self.haskeline_0_7_2_1;
haskeline = self.haskeline_0_7_3_1;
hoopl = self.hoopl_3_10_2_1;
hpc = self.hpc_0_6_0_2;
terminfo = self.terminfo_0_4_0_1;
terminfo = self.terminfo_0_4_0_2;
xhtml = self.xhtml_3000_2_1;


Expand Down

0 comments on commit c0ecd31

Please sign in to comment.