git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "Build GHC HEAD from git checkout".
15416ddPeter Simons
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 }:
2
2
3let
3let
4
4
@@ -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";
19
18
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";
24 };
22 };
25
23
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 ];
33
25
34 preConfigure = ''
26 preConfigure = ''
35 echo >mk/build.mk "${buildMK}"
27 echo >mk/build.mk "${buildMK}"
@@ -47,7 +39,7 @@ stdenv.mkDerivation rec {
47
39
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" ];
51
43
52 meta = {
44 meta = {
53 homepage = "http://haskell.org/ghc";
45 homepage = "http://haskell.org/ghc";
pkgs/top-level/haskell-ng.nix+1−1
@@ -18,7 +18,7 @@ rec {
18 ghc763 = callPackage ../development/compilers/ghc/7.6.3.nix { ghc = compiler.ghc704Binary; gmp = pkgs.gmp.override { withStatic = true; }; };
18 ghc763 = callPackage ../development/compilers/ghc/7.6.3.nix { ghc = compiler.ghc704Binary; gmp = pkgs.gmp.override { withStatic = true; }; };
19 ghc784 = callPackage ../development/compilers/ghc/7.8.4.nix { ghc = compiler.ghc742Binary; gmp = pkgs.gmp.override { withStatic = true; }; };
19 ghc784 = callPackage ../development/compilers/ghc/7.8.4.nix { ghc = compiler.ghc742Binary; gmp = pkgs.gmp.override { withStatic = true; }; };
20 ghc7101 = callPackage ../development/compilers/ghc/7.10.1.nix { ghc = compiler.ghc784; gmp = pkgs.gmp.override { withStatic = true; }; };
20 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; }; };
22 ghc = compiler.ghc784;
22 ghc = compiler.ghc784;
23
23
24 };
24 };