Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created February 15, 2018 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/86135143bc068297327f14f930620304 to your computer and use it in GitHub Desktop.
Save cleverca22/86135143bc068297327f14f930620304 to your computer and use it in GitHub Desktop.
[clever@amd-nixos:~]$ nix-shell -p 'map (x: pkgs."ruby_${x}") [ "2_0" "2_1" "2_2" "2_3" "2_4" ]' --run 'which -a ruby'
/nix/store/fzig0rrfwv2vim8dwdlqpz9p0jd6yfcx-ruby-2.0.0-p648/bin/ruby
/nix/store/frhi4b281vifmwxqcz0cj812f6fgw7j8-ruby-2.1.10/bin/ruby
/nix/store/fsycgl16fapyxnvvjw8gl39pjbvidbc8-ruby-2.2.8/bin/ruby
/nix/store/jav1bpg9z6h5iwk66m8vpaacqg5vgkzw-ruby-2.3.5/bin/ruby
/nix/store/r9dy9bck3y57vaglv1yp0yn71jycw082-ruby-2.4.2/bin/ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment