From 6f7593fddcc70a96d219bd7c72658e6ace8ffa9a Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 15 Nov 2016 18:30:26 -0500 Subject: ghc-head: fix hash. Apparently fetchgit lies... --- pkgs/development/compilers/ghc/head.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pkgs/development/compilers') diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index 21f0eecc87f7..2399a44fc0d2 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -24,12 +24,11 @@ in stdenv.mkDerivation (rec { src = fetchgit { url = "git://git.haskell.org/ghc.git"; inherit rev; - sha256 = "091zpb9vqqy4jqh4q7sz04dh1yfdczaaikbxi5ppim01gzbxwn65"; + sha256 = "1ryggmz961qd0fl50rkjjvi6g9azwla2vx9310a9nzjaj5x6ib4y"; }; postUnpack = '' - chmod -R +w ghc - pushd ghc + pushd ghc-${builtins.substring 0 7 rev} echo ${version} >VERSION echo ${rev} >GIT_COMMIT_ID patchShebangs . @@ -44,7 +43,7 @@ in stdenv.mkDerivation (rec { preConfigure = commonPreConfigure; configureFlags = [ - "CC=cc" + "CC=${stdenv.cc}/bin/cc" "--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib" "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib" ] ++ stdenv.lib.optional stdenv.isDarwin [ -- cgit 1.4.1