3
0
Fork 0
forked from mirrors/nixpkgs
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 pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.6.1.nix * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless 2012-01-18 20:16:00 +00:00
6.8.2.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.8.3.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.10.1-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
6.10.1.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.10.2-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
6.10.2.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.10.3.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.10.4.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.11.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.12.1-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
6.12.1.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.12.2.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
6.12.3.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
7.0.1.nix pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler 2011-08-09 07:42:05 +00:00
7.0.2.nix Darwin: Add mig', lipo', etc. to `stdenvNative'. 2012-04-23 15:47:31 +00:00
7.0.3.nix Darwin: Add mig', lipo', etc. to `stdenvNative'. 2012-04-23 15:47:31 +00:00
7.0.4-binary.nix ghc-*-binary: remove redundant assertion 2012-10-12 15:23:05 +02:00
7.0.4.nix Darwin: Add mig', lipo', etc. to `stdenvNative'. 2012-04-23 15:47:31 +00:00
7.2.1.nix Darwin: Add mig', lipo', etc. to `stdenvNative'. 2012-04-23 15:47:31 +00:00
7.2.2.nix Darwin: Add mig', lipo', etc. to `stdenvNative'. 2012-04-23 15:47:31 +00:00
7.4.1.nix Darwin: Add mig', lipo', etc. to `stdenvNative'. 2012-04-23 15:47:31 +00:00
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 pkgs/development/compilers/ghc/ghc-get-packages.sh: append global "package.conf" to the list of package config files 2010-01-06 12:55:25 +00:00
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