@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, ghc, perl, gmp, ncurses, autoconf, automake, happy, alex }:
1+{ stdenv, fetchurl, ghc, perl, gmp, ncurses }:
22
33let
44
@@ -15,21 +15,13 @@ in
1515stdenv.mkDerivation rec {
1616 version = "7.11.20150118";
1717 name = "ghc-${version}";
18− rev = "6ff3db92140e3ac8cbda50d1a4aab976350ac8c4";
1918
20− src = fetchgit {
21− url = "git://git.haskell.org/ghc.git";
22− inherit rev;
23− sha256 = "1a1r3nw7x5rd8563770zcg1phm55vi3sxs2zwr91ik026n8jjba6";
19+ src = fetchurl {
20+ url = "http://deb.haskell.org/dailies/2015-01-18/ghc_${version}.orig.tar.bz2";
21+ sha256 = "1zy960q2faq03camq2n4834bd748vkc15h83bapswc68dqncqj20";
2422 };
2523
26− postUnpack = ''
27− pushd ghc-${builtins.substring 0 7 rev}
28− ./boot
29− popd
30− '';
31−
32− buildInputs = [ ghc perl autoconf automake happy alex ];
24+ buildInputs = [ ghc perl ];
3325
3426 preConfigure = ''
3527 echo >mk/build.mk "${buildMK}"
@@ -47,7 +39,7 @@ stdenv.mkDerivation rec {
4739
4840 # required, because otherwise all symbols from HSffi.o are stripped, and
4941 # that in turn causes GHCi to abort
50− stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
42+ stripDebugFlags = [ "-S" "--keep-file-symbols" ];
5143
5244 meta = {
5345 homepage = "http://haskell.org/ghc";