Skip to content

Commit

Permalink
ghc-head: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Jan 6, 2017
1 parent 39bb4fe commit 3c2cbd3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pkgs/development/compilers/ghc/head.nix
Expand Up @@ -7,7 +7,7 @@ let

commonBuildInputs = [ ghc perl autoconf automake happy alex python3 ];

version = "8.1.20161224";
version = "8.1.20170106";

commonPreConfigure = ''
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
Expand All @@ -19,12 +19,12 @@ let
in stdenv.mkDerivation (rec {
inherit version;
name = "ghc-${version}";
rev = "2689a1692636521777f007861a484e7064b2d696";
rev = "b4f2afe70ddbd0576b4eba3f82ba1ddc52e9b3bd";

src = fetchgit {
url = "git://git.haskell.org/ghc.git";
inherit rev;
sha256 = "0rk6xy7kgxx849nprq1ji459p88nyy93236g841m5p6mdh7mmrcr";
sha256 = "1h064nikx5srsd7qvz19f6dxvnpfjp0b3b94xs1f4nar18hzf4j0";
};

postPatch = "patchShebangs .";
Expand Down Expand Up @@ -86,9 +86,6 @@ in stdenv.mkDerivation (rec {
} // stdenv.lib.optionalAttrs (cross != null) {
name = "${cross.config}-ghc-${version}";

# Some fixes for cross-compilation to iOS. See https://phabricator.haskell.org/D2710 (D2711,D2712,D2713)
patches = [ ./D2710.patch ./D2711.patch ./D2712.patch ./D2713.patch ];

preConfigure = commonPreConfigure + ''
sed 's|#BuildFlavour = quick-cross|BuildFlavour = perf-cross|' mk/build.mk.sample > mk/build.mk
'';
Expand Down

0 comments on commit 3c2cbd3

Please sign in to comment.