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
[email protected]
http://corebotllc.com/


On Mon, Nov 4, 2013 at 1:11 PM, Corey O'Connor <[email protected]>wrote:

> ah ha!
> No I didn't. Thanks for the info :-)
>
> Cheers,
> Corey
>
>  -Corey O'Connor
> [email protected]
> http://corebotllc.com/
>
>
> On Mon, Nov 4, 2013 at 11:09 AM, Peter Simons <[email protected]> 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
>> [email protected]
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to