mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
62e5acd0a7
To avoid duplicating the ruby compilation code, this change exposes two functions `mkRubyVersion` and `mkRuby`, which can be used in an overlay to build any past or current ruby version. An example overlay: ```nix self: super: { ruby_2_7_6 = super.mkRuby { version = super.mkRubyVersion "2" "7" "6" ""; sha256 = "042xrdk7hsv4072bayz3f8ffqh61i8zlhvck10nfshllq063n877"; }; ruby_3_1_2 = super.mkRuby { version = super.mkRubyVersion "3" "1" "2" ""; sha256 = "0gm84ipk6mrfw94852w5h7xxk2lqrxjbnlwb88svf0lz70933131"; }; } ``` |
||
---|---|---|
.. | ||
rubygems | ||
config.nix | ||
default.nix | ||
dev.nix | ||
do-not-regenerate-revision.h.patch | ||
do-not-update-gems-baseruby.patch | ||
patchsets.nix | ||
rbconfig.rb | ||
rbinstall-new-rubygems-compat.patch | ||
ruby-version.nix | ||
rvm-patchsets.nix |