[Nix-dev] ghc --enable-multi-instance, the end of cabal hell ?

Kirill Elagin kirelagin at gmail.com
Sun Sep 20 22:38:42 CEST 2015


I’m sorry, I haven’t been following the development of GHC recently and
there is one thing I didn’t get.
Why starting from “Problem 3” he keeps referring to “Nix hashes” and “Nix
store”? Is it just an analogy or does GHC in some way actually use Nix
under the hood?

On Sat, Sep 19, 2015 at 2:30 PM, Miguel Negrão <
miguel.negrao-lists at friendlyvirus.org> wrote:

> Hi list,
>
> I saw this on reddit today:
>
> http://blog.ezyang.com/2015/09/is-no-reinstall-cabal-coming-to-ghc-8/
>
> Could the infrastructure used for this in ghc help in nixos ? It seems in
> ghc 7.10 a flag --enable-multi-instance was added to ghc-pkg "which makes
> ghc-pkg no longer error if you attempt to add multiple copies of the same
> package in the database". Wouldn't this mean no more conflicts when
> packages
> that a package depends on, need to use different version of the same
> package
> ? Or perhaps I'm misunderstanding and this is not relevant for nixos ? I'm
> quite sure I already encountered this issue in nixos before...
>
> Thanks,
> Miguel
>
> _______________________________________________
> 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/20150920/b8ce13a6/attachment.html 


More information about the nix-dev mailing list