nixpkgs/pkgs/development
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
..
androidenv androidenv: Remove examples directory 2012-11-20 11:29:04 +01:00
compilers Patch ghc-paths to interact better with ghcWithPackages. 2012-12-16 14:25:15 +01:00
eclipse update ecj to 3.7.2 2012-08-25 19:39:19 +02:00
guile-modules Drop 'gnomevfs = gnome_vfs;' alias 2011-10-08 12:06:03 +00:00
interpreters Merge pull request #206 from chaoflow/python-merge 2012-12-05 14:28:09 -08:00
libraries Patch ghc-paths to interact better with ghcWithPackages. 2012-12-16 14:25:15 +01:00
misc * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless 2012-01-18 20:16:00 +00:00
ocaml-modules Remove a bunch of unreferenced files 2012-11-29 13:43:37 +01:00
perl-modules DBD::SQLite: Don't link against /usr/lib/libsqlite3.dylib on Darwin 2012-09-12 12:33:03 -04:00
python-modules python prefix for recursive pth loader and fix typo 2012-12-14 19:47:51 +01:00
qtcreator qtcreator: Build QmlDesigner Plugin 2012-11-27 23:13:18 +01:00
ruby-modules * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless 2012-01-18 20:16:00 +00:00
tools phantomjs: it seems upx packing is only used on x86_64 2012-12-14 00:27:43 +01:00
web nodejs v0.8.15 2012-12-03 10:05:39 -05:00