@@ -6,18 +6,18 @@ let
66 inherit (bootPkgs) ghc;
77
88in stdenv.mkDerivation rec {
9− version = "7.11.20151216";
9+ version = "8.1.20160826";
1010 name = "ghc-${version}";
11− rev = "28638dfe79e915f33d75a1b22c5adce9e2b62b97";
11+ rev = "0050aff22ba04baca732bf5124002417ab667f8a";
1212
1313 src = fetchgit {
1414 url = "git://git.haskell.org/ghc.git";
1515 inherit rev;
16− sha256 = "0rjzkzn0hz1vdnjikcbwfs5ggs8r3y4gqxfdn4jzfp45gx94wiwv";
16+ sha256 = "1iirb11fr8914pb6i988cfji56gs698ll819bgb0hpcdkrmffwqc";
1717 };
1818
1919 patches = [
20− ./ghc-7.x-dont-pass-linker-flags-via-response-files.patch # https://github.com/NixOS/nixpkgs/issues/10752
20+ ./ghc-8.x-dont-pass-linker-flags-via-response-files.patch # https://github.com/NixOS/nixpkgs/issues/10752
2121 ];
2222
2323 postUnpack = ''
@@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
4242 '';
4343
4444 configureFlags = [
45− "--with-gcc=${stdenv.cc}/bin/cc"
45+ "--with-cc=${stdenv.cc}/bin/cc"
4646 "--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
4747 "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
4848 ] ++ stdenv.lib.optional stdenv.isDarwin [