diff options
author | Arie Middelkoop <amiddelk@gmail.com> | 2006-12-15 13:32:55 +0000 |
---|---|---|
committer | Arie Middelkoop <amiddelk@gmail.com> | 2006-12-15 13:32:55 +0000 |
commit | afde8e6270b8dca793d1f541224013a8e3bcd687 (patch) | |
tree | 17bbf8f172c71740c03f91c857d11683fc0f5ebd /pkgs/development/libraries/haskell | |
parent | 4ae30fee90603b4cac7c0e3a9db0b31d6b540818 (diff) | |
download | nixpkgs-afde8e6270b8dca793d1f541224013a8e3bcd687.tar nixpkgs-afde8e6270b8dca793d1f541224013a8e3bcd687.tar.gz nixpkgs-afde8e6270b8dca793d1f541224013a8e3bcd687.tar.bz2 nixpkgs-afde8e6270b8dca793d1f541224013a8e3bcd687.tar.lz nixpkgs-afde8e6270b8dca793d1f541224013a8e3bcd687.tar.xz nixpkgs-afde8e6270b8dca793d1f541224013a8e3bcd687.tar.zst nixpkgs-afde8e6270b8dca793d1f541224013a8e3bcd687.zip |
Added GHC 6.6.
note: the old GHC 6.4(.2?) version is still there. I reused the bootstrap-version to bootstrap GHC-6.6. And some other packages depend on the old GHC version as well. note: only use this package for building other packages. If you install it as an end-user, you'll only be able to use the default GHC libraries, because other libraries are only privately registered to this GHC version during a nix-build by hooks (which are not executed when you run GHC yourself as an end-user). Consequently, also added a newer version of uulib and uuagc. svn path=/nixpkgs/trunk/; revision=7346
Diffstat (limited to 'pkgs/development/libraries/haskell')
-rw-r--r-- | pkgs/development/libraries/haskell/uulib-ghc-6.6/builder.sh | 21 | ||||
-rw-r--r-- | pkgs/development/libraries/haskell/uulib-ghc-6.6/default.nix | 11 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/uulib-ghc-6.6/builder.sh b/pkgs/development/libraries/haskell/uulib-ghc-6.6/builder.sh new file mode 100644 index 00000000000..bbe21eac49e --- /dev/null +++ b/pkgs/development/libraries/haskell/uulib-ghc-6.6/builder.sh @@ -0,0 +1,21 @@ +source $stdenv/setup + + +tar xzf "$src" && +cd uulib-* && + + +autoconf && +./configure --prefix=$out && + + +ghc --make Setup.hs -o setup -package Cabal && +./setup configure --prefix=$out --with-hc-pkg=ghc-pkg && + + +./setup build && +./setup install && +./setup register --gen-script && + +mkdir -p $out/nix-support/ && +cp register.sh $out/nix-support/register-ghclib.sh diff --git a/pkgs/development/libraries/haskell/uulib-ghc-6.6/default.nix b/pkgs/development/libraries/haskell/uulib-ghc-6.6/default.nix new file mode 100644 index 00000000000..1c315b1cffa --- /dev/null +++ b/pkgs/development/libraries/haskell/uulib-ghc-6.6/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, autoconf, ghc}: + +stdenv.mkDerivation +{ + name = "uulib-0.9.2-ghc-6.6"; + src = fetchurl { url = http://www.cs.uu.nl/~ariem/uulib-2006-10-30-src.tar.gz; + md5 = "d26059447d45fa91f54eca38680be7b7"; + }; + builder = ./builder.sh; + buildInputs = [ autoconf ghc ]; +} |