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

zimbatm zimbatm at zimbatm.com
Sat Sep 19 15:06:59 CEST 2015


In my understanding nix already separates different versions of a package
into different derivations. Even if cabal supports having multiple versions
of a package, at compile time it still has to resolve to a single version.

On Sat, 19 Sep 2015 12:31 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/20150919/fe802e9b/attachment.html 


More information about the nix-dev mailing list