Just install ghc68_wrapper which will install the required dependencies ghc
(and libraries) itself.
The list libraries given in the wrapper attribute set can be user tuned in the future ?
An alternative would be creating something similar to the gcc/g++ include/ lib/ scheme which
is could be used by ghc to find installed packages..
svn path=/nixpkgs/trunk/; revision=9581
ghcPkgUtil defines a function to create setup-hook
- creating a packagedatabase (nix-support/package.conf)
- adding it to GHC_PACKAGE_PATH
see comments for details
svn path=/nixpkgs/trunk/; revision=9500
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