[Nix-dev] Re: Re: rubyLibs rewrite
Yury G. Kudryashov
urkud+nix at ya.ru
Sat Jan 22 15:48:47 CET 2011
Marc Weber wrote:
> Excerpts from Yury G. Kudryashov's message of Fri Jan 21 15:55:49 +0100
> 2011:
>> >> For example, we can let rubygems to automatically add
>> >> NIX_PROFILES/gemPath to GEM_PATH.
>> > Yes. However it should be done on a "per application basis" by default.
>> > I personally will load gems into PATH when needed. This way no
>> > collisions will happen.
>> What collisions may happen with rubygems? It seems that they have rather
>> nice builtin collision resolution.
>
> If you install something into profiles and want to use other patched
> libraries when developing. The solution is simple: "Don't intsall the
> normal way into your profiles".
>
> Its ok. In the usual case it does what the user expects. So go for it.
>
> I'll personally create envs and load them as needed.
>
> How do you think about overlays?
I think that we need something like exherbo's repository abstraction. And
'gem' may be one of 'sync types'. I have no detailed proposal atm.
More information about the nix-dev
mailing list