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 < [email protected]> 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 > [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
