ruby_3_1: init at 3.1.0
https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/
This commit is contained in:
parent
c9d69430a5
commit
a2d81a8977
3 changed files with 14 additions and 2 deletions
|
@ -99,7 +99,7 @@ let
|
|||
inherit patchSet useRailsExpress ops fetchpatch;
|
||||
patchLevel = ver.patchLevel;
|
||||
}).${ver.majMinTiny}
|
||||
++ [ ./do-not-regenerate-revision.h.patch ]
|
||||
++ op (lib.versionOlder ver.majMin "3.1") ./do-not-regenerate-revision.h.patch
|
||||
++ op (atLeast30 && useRailsExpress) ./do-not-update-gems-baseruby.patch
|
||||
# Ruby prior to 3.0 has a bug the installer (tools/rbinstall.rb) but
|
||||
# the resulting error was swallowed. Newer rubygems no longer swallows
|
||||
|
@ -265,4 +265,12 @@ in {
|
|||
git = "1q19w5i1jkfxn7qq6f9v9ngax9h52gxwijk7hp312dx6amwrkaim";
|
||||
};
|
||||
};
|
||||
|
||||
ruby_3_1 = generic {
|
||||
version = rubyVersion "3" "1" "0" "";
|
||||
sha256 = {
|
||||
src = "sha256-UKBQTG7ctNYc5rjP292qlXBxlfqw7Ne16SZUsqlBKFQ=";
|
||||
git = "sha256-TcsoWY+zVZeue1/ypV1L0WERp1UVK35WtVtYPYiJh4c=";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,4 +10,6 @@
|
|||
"${patchSet}/patches/ruby/3.0/head/railsexpress/01-improve-gc-stats.patch"
|
||||
"${patchSet}/patches/ruby/3.0/head/railsexpress/02-malloc-trim.patch"
|
||||
];
|
||||
"3.1.0" = ops useRailsExpress [ # no patches yet (2021-12-25)
|
||||
];
|
||||
}
|
||||
|
|
|
@ -13804,13 +13804,15 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||
})
|
||||
ruby_2_7
|
||||
ruby_3_0;
|
||||
ruby_3_0
|
||||
ruby_3_1;
|
||||
|
||||
ruby = ruby_2_7;
|
||||
rubyPackages = rubyPackages_2_7;
|
||||
|
||||
rubyPackages_2_7 = recurseIntoAttrs ruby_2_7.gems;
|
||||
rubyPackages_3_0 = recurseIntoAttrs ruby_3_0.gems;
|
||||
rubyPackages_3_1 = recurseIntoAttrs ruby_3_1.gems;
|
||||
|
||||
mruby = callPackage ../development/compilers/mruby { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue