@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, ghc, perl, gmp, ncurses, autoconf, automake, happy, alex }:
1+{ stdenv, fetchurl, ghc, perl, gmp, ncurses }:
@@ -15,21 +15,13 @@ in
15stdenv.mkDerivation rec {
15stdenv.mkDerivation rec {
16 version = "7.11.20150118";
16 version = "7.11.20150118";
17 name = "ghc-${version}";
17 name = "ghc-${version}";
18− rev = "6ff3db92140e3ac8cbda50d1a4aab976350ac8c4";
20− src = fetchgit {
19+ src = fetchurl {
21− url = "git://git.haskell.org/ghc.git";
20+ url = "http://deb.haskell.org/dailies/2015-01-18/ghc_${version}.orig.tar.bz2";
22− inherit rev;
21+ sha256 = "1zy960q2faq03camq2n4834bd748vkc15h83bapswc68dqncqj20";
23− sha256 = "1a1r3nw7x5rd8563770zcg1phm55vi3sxs2zwr91ik026n8jjba6";
27− pushd ghc-${builtins.substring 0 7 rev}
32− buildInputs = [ ghc perl autoconf automake happy alex ];
24+ buildInputs = [ ghc perl ];
34 preConfigure = ''
26 preConfigure = ''
35 echo >mk/build.mk "${buildMK}"
27 echo >mk/build.mk "${buildMK}"
@@ -47,7 +39,7 @@ stdenv.mkDerivation rec {
48 # required, because otherwise all symbols from HSffi.o are stripped, and
40 # required, because otherwise all symbols from HSffi.o are stripped, and
49 # that in turn causes GHCi to abort
41 # that in turn causes GHCi to abort
50− stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
42+ stripDebugFlags = [ "-S" "--keep-file-symbols" ];
53 homepage = "http://haskell.org/ghc";
45 homepage = "http://haskell.org/ghc";