[Nix-dev] "nix-env -i ruby" installs bundler, not ruby
Mateusz Kowalczyk
fuuzetsu at fuuzetsu.co.uk
Sat Mar 14 13:45:28 CET 2015
On 03/09/2015 04:58 PM, Bjørn Forsman wrote:
> Hi all,
>
> I'm on the stable 14.12 branch and decided to install ruby:
>
> $ ruby
> The program ‘ruby’ is currently not installed. You can install it by typing:
> nix-env -i ruby
>
> But what I get from running "nix-env -i ruby" is not ruby, it's bundler!
>
> Here is a the snippet that shows the issue:
>
> $ nix-env -qaP | grep ruby
> nixos.pkgs.ruby ruby-1.9.3-p547
> nixos.pkgs.bundler ruby-1.9.3-p547-bundler-1.7.9
>
> Any rubyists that can fix the naming scheme so installation by name
> works as expected?
>
> - Bjørn
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
Just use -iA, such naming issues are precisely why just -i is not sane
and that is on top of how inefficient it is.
--
Mateusz K.
More information about the nix-dev
mailing list