[Nix-dev] HaskellNG and taffybar

Arseniy Seroka ars.seroka at gmail.com
Tue Feb 24 00:03:44 CET 2015


If someone need a solution, it's here [1]

[1]
https://github.com/jagajaga/my_configs/commit/45caa1be53d2dbee3bc58052925c16e4cd2ee9fe

2015-02-23 23:26 GMT+03:00 Arseniy Seroka <ars.seroka at gmail.com>:

> Thanks. Gonna do something.
>
>
> 2015-02-23 23:21 GMT+03:00 Kirill Elagin <kirelagin at gmail.com>:
>
>> It might even be a good idea to send this patch to Dyre upstream. I doubt
>> they really want to use GHC path stored during compilation for _dynamic_
>> reconfiguration.
>>
>> On Mon Feb 23 2015 at 0:18:58 Kirill Elagin <kirelagin at gmail.com> wrote:
>>
>>> Well, the author of the issue I pointed out is correct in saying that
>>> they use Dyre which in turn uses ghc-paths. I checked ghc-paths and I
>>> believe what they do is store the path to GHC _they were compiled with_.
>>>
>>> So errr... Looks like we are stuck in a loop. I guess your best bet is
>>> to patch Dyre not to use ghc-paths.
>>>
>>> On Mon Feb 23 2015 at 23:59:51 Arseniy Seroka <ars.seroka at gmail.com>
>>> wrote:
>>>
>>>>
>>>> 2015-02-23 22:55 GMT+03:00 Kirill Elagin <kirelagin at gmail.com>:
>>>>
>>>>> Does XMonad work in your case?
>>>>> Can you import `System.Taffybar` in `ghci`?
>>>>>
>>>>
>>>> Yes, xmonad works and I can import `System.Taffybar` in ghci.
>>>>
>>>>
>>>> Might it be that, unlike XMonad, they do something more complicated to
>>>>> invoke GHC? I didn’t check the source, but looks like they do.
>>>>> Are you running this on a non-NixOS distro? In that case, the issue
>>>>> <https://github.com/simonmar/ghc-paths/issues/4> probably explains
>>>>> what’s going
>>>>>
>>>>
>>>> I'm using Nixos.
>>>> That's what they are doing. [1]
>>>>
>>>> [1] https://github.com/travitch/taffybar/blob/master/src/System/
>>>> Taffybar.hs#L204
>>>>
>>>>
>>>> --
>>>> Sincerely,
>>>> Arseniy Seroka
>>>>
>>>
>
>
> --
> Sincerely,
> Arseniy Seroka
>



-- 
Sincerely,
Arseniy Seroka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150224/c12414b8/attachment-0001.html 


More information about the nix-dev mailing list