* ghc-6.8 is no longer a snapshot

* fixed typo in application of x86_64 patch, i.e.,
    now really seems to work on x86_64 ...

svn path=/nixpkgs/trunk/; revision=9898
This commit is contained in:
Andres Löh 2007-12-10 10:50:59 +00:00
parent 58610e801a
commit 67b8350ee6
2 changed files with 7 additions and 7 deletions

View File

@ -1,15 +1,15 @@
{stdenv, fetchurl, readline, ghc, perl, m4, gmp, ncurses}: {stdenv, fetchurl, readline, ghc, perl, m4, gmp, ncurses}:
stdenv.mkDerivation (rec { stdenv.mkDerivation (rec {
name = "ghc-6.8.0.20071018"; name = "ghc-6.8.1";
homepage = "http://www.haskell.org/ghc"; homepage = "http://www.haskell.org/ghc";
src = map fetchurl [ src = map fetchurl [
{ url = "${homepage}/dist/stable/dist/${name}-src.tar.bz2"; { url = "${homepage}/dist/stable/dist/${name}-src.tar.bz2";
md5 = "7e61bd2a55c2d6ed5a6d996d19d3f6bf"; md5 = "8d47d4dcde96c31fe8bedcee7f99eaf1";
} }
{ url = "${homepage}/dist/stable/dist/${name}-src-extralibs.tar.bz2"; { url = "${homepage}/dist/stable/dist/${name}-src-extralibs.tar.bz2";
md5 = "7b155c1d1e7daa492cc2161b3828a377"; md5 = "f91de87e7c0a3fe2f27c5a83212d9743";
} }
]; ];
@ -18,7 +18,7 @@ stdenv.mkDerivation (rec {
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;
meta = { meta = {
description = "The Glasgow Haskell Compiler v6.8 (snapshot)"; description = "The Glasgow Haskell Compiler v6.8.1";
}; };
postInstall = " postInstall = "
@ -32,7 +32,7 @@ stdenv.mkDerivation (rec {
patch64 = ./x86_64-linux_patch; patch64 = ./x86_64-linux_patch;
# Thanks to Ian Lynagh ghc now works on x86_64-linux as well # Thanks to Ian Lynagh ghc now works on x86_64-linux as well
patchPhase = if (stdenv.system == "x86_64-linx") then "patch -p2 < $patch64" else ""; patchPhase = if (stdenv.system == "x86_64-linux") then "patch -p2 < $patch64" else "";
configureFlags="--with-gmp-libraries=$gmp/lib --with-readline-libraries=\"$readline/lib\""; configureFlags="--with-gmp-libraries=$gmp/lib --with-readline-libraries=\"$readline/lib\"";

View File

@ -1030,11 +1030,11 @@ rec {
ghc = ghc661; ghc = ghc661;
ghc68 = lowPrio (appendToName "snapshot" (import ../development/compilers/ghc-6.8 { ghc68 = import ../development/compilers/ghc-6.8 {
inherit fetchurl stdenv readline perl gmp ncurses; inherit fetchurl stdenv readline perl gmp ncurses;
m4 = gnum4; m4 = gnum4;
ghc = ghcboot; ghc = ghcboot;
})); };
ghc661 = import ../development/compilers/ghc-6.6.1 { ghc661 = import ../development/compilers/ghc-6.6.1 {
inherit fetchurl stdenv readline perl gmp ncurses; inherit fetchurl stdenv readline perl gmp ncurses;