mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
d068aa9861
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. |
||
---|---|---|
.. | ||
6.4.2-binary.nix | ||
6.4.2.nix | ||
6.6.1.nix | ||
6.8.2.nix | ||
6.8.3.nix | ||
6.10.1-binary.nix | ||
6.10.1.nix | ||
6.10.2-binary.nix | ||
6.10.2.nix | ||
6.10.3.nix | ||
6.10.4.nix | ||
6.11.nix | ||
6.12.1-binary.nix | ||
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 | ||
7.0.4.nix | ||
7.2.1.nix | ||
7.2.2.nix | ||
7.4.1.nix | ||
7.4.2-binary.nix | ||
7.4.2.nix | ||
7.6.1.nix | ||
ghc-get-packages.sh | ||
head.nix | ||
with-packages.nix | ||
wrapper.nix |