[Nix-dev] override ghc-paths to point to wrapped ghc?
Corey O'Connor
coreyoconnor at gmail.com
Tue Nov 5 20:40:53 CET 2013
For the record: The issues I was experiencing was due to a ghc-paths
package installed by Cabal. Which was not patched. I'm using ghcWithPckages
for my haskell environment. This did not have ghcPaths in the list of
packages to be installed. Once I added ghcPaths and removed ghc-paths from
my user package DB then everything worked as expected.
Cheers,
Corey
-Corey O'Connor
coreyoconnor at gmail.com
http://corebotllc.com/
On Mon, Nov 4, 2013 at 1:11 PM, Corey O'Connor <coreyoconnor at gmail.com>wrote:
> 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/20131105/a0466f9c/attachment.html
More information about the nix-dev
mailing list