[Nix-dev] Ruby-gems

Isaac Dupree isaacdupree at charter.net
Sun Aug 3 13:21:57 CEST 2008


Pjotr Prins wrote:
> I think the only sensible alternative is a special NIX path for this
> type of effect. E.g. /var/lib/nix/gems and
> /usr/lib/nix/ruby/site-config.

/var/lib/nix/aliens/gems ? ... 
"Aliens", a name we thought of 
for these things in GoboLinux. 
  (not implemented yet, but I 
think the idea was that things 
in the GoboLinux store 
(/Programs) could also depend 
on things in /System/Aliens, 
because Gobo isn't so 
interested in being pure)

obviously, we would need a 
system-wide path for them as 
long as they provide 
system-wide installation. 
Should the directory be 
versioned (though not in 
/nix/store), so that different 
versions of Ruby use different 
'gems' directories? (can use? 
must use?)  In any case I 
install that kind of thing 
(Cabal packages..) in my home 
directory without root 
privileges, so I don't care 
what Nix does with the default 
global installation location.

-Isaac



More information about the nix-dev mailing list