git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "Build GHC HEAD from git checkout".

This reverts commit 52c8d7c4ab0b2b2c97faa848b98dfc0ae9b69d7b. The new expression doesn't compile: http://hydra.nixos.org/build/19594431/nixlog/1/raw.

commit15416dd2eca1bc3d214649b0f034e40a1daee2ab authorPeter Simons <simons@cryp.to> dateThu 12 Feb 2015, 20:15 (12 years ago) parentcf1550c
2 files changed+7−15
pkgs/development/compilers/ghc/head.nix+6−14 pkgs/top-level/haskell-ng.nix+1−1
pkgs/development/compilers/ghc/head.nix+6−14
@@ -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";
pkgs/top-level/haskell-ng.nix+1−1
@@ -18,7 +18,7 @@ rec {
1818 ghc763 = callPackage ../development/compilers/ghc/7.6.3.nix { ghc = compiler.ghc704Binary; gmp = pkgs.gmp.override { withStatic = true; }; };
1919 ghc784 = callPackage ../development/compilers/ghc/7.8.4.nix { ghc = compiler.ghc742Binary; gmp = pkgs.gmp.override { withStatic = true; }; };
2020 ghc7101 = callPackage ../development/compilers/ghc/7.10.1.nix { ghc = compiler.ghc784; gmp = pkgs.gmp.override { withStatic = true; }; };
21− ghcHEAD = callPackage ../development/compilers/ghc/head.nix { inherit (packages.ghc784) ghc happy alex; gmp = pkgs.gmp.override { withStatic = true; }; };
21+ ghcHEAD = callPackage ../development/compilers/ghc/head.nix { ghc = compiler.ghc784; gmp = pkgs.gmp.override { withStatic = true; }; };
2222 ghc = compiler.ghc784;
2323
2424 };