nixpkgs/pkgs/development/compilers/ghc
Andres Loeh d068aa9861 Patch ghc-paths to interact better with ghcWithPackages.
When the ghc-paths library is compiled, the paths of the
compiler it is compiled with are being hardcoded in the
library (and can then be queried from other applications
using the library).

But on Nix, packages are compiled with ghc-wrapper, and
subsequently possibly used with a special version of ghc
generated for a particular environment of packages. So
one version of ghc-paths may potentially end up being
used by lots of different instances of ghc. The hardcoding
approach fails.

As a work-around, we now patch ghc-paths so that it allows
setting the paths that can be queried via environment
variables. Specific GHC environments can then set these
environment variables in the wrapper shell script that
invokes GHC.

This should at least partially solve issue #213.
2012-12-16 14:25:15 +01:00
..
6.4.2-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
6.4.2.nix
6.6.1.nix
6.8.2.nix
6.8.3.nix
6.10.1-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
6.10.1.nix
6.10.2-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
6.10.2.nix
6.10.3.nix
6.10.4.nix
6.11.nix
6.12.1-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
6.12.1.nix
6.12.2.nix
6.12.3.nix
7.0.1.nix
7.0.2.nix
7.0.3.nix
7.0.4-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
7.0.4.nix
7.2.1.nix
7.2.2.nix
7.4.1.nix
7.4.2-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
7.4.2.nix ghc: added version 7.4.2 2012-06-11 16:25:45 +00:00
7.6.1.nix ghc-7.6.1: parallel builds of this package fail 2012-09-10 12:28:25 +02:00
ghc-get-packages.sh
head.nix Updating ghc HEAD snapshot. 2012-11-07 14:45:32 +01:00
with-packages.nix Patch ghc-paths to interact better with ghcWithPackages. 2012-12-16 14:25:15 +01:00
wrapper.nix ghc-wrapper: choose '-package-conf' or '-package-db' flag depending on the version of GHC that's being wrapped 2012-09-13 15:13:00 +02:00