[Nix-dev] override ghc-paths to point to wrapped ghc?

Corey O'Connor coreyoconnor at gmail.com
Mon Nov 4 22:11:19 CET 2013


ah ha!
No I didn't. Thanks for the info :-)

Cheers,
Corey

-Corey O'Connor
coreyoconnor at gmail.com
http://corebotllc.com/


On Mon, Nov 4, 2013 at 11:09 AM, Peter Simons <simons at cryp.to> wrote:

> Hi Corey,
>
> you realize that ghc-paths is patched in Nix, right?
>
>
> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/haskell/ghc-paths/ghc-paths-nix.patch
>
> The library returns whatever paths found in the environment variables
>
>   NIX_GHC
>   NIX_GHCPKG
>   NIX_GHC_LIBDIR
>   NIX_GHC_DOCDIR
>
> if those are set. The 'ghcWithLibraries' even generates wrapper scripts
> for standard tools that configure those paths appropriately.
>
> Take care,
> Peter
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131104/68dc1e09/attachment.html 


More information about the nix-dev mailing list