diff options
author | Arnout Engelen <arnout@bzzt.net> | 2022-09-25 09:59:05 +0200 |
---|---|---|
committer | Arnout Engelen <arnout@bzzt.net> | 2022-10-06 17:09:38 +0200 |
commit | c5e2f3c06603bc968ad8cc19b6896d4ac6a99d55 (patch) | |
tree | 3b6376f35648c45f83f6a9b7b512dc950e7d5c6e /pkgs/development/interpreters/ruby | |
parent | ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90 (diff) |
ruby: move towards ruby 3
Currently, `pkgs.ruby` is ruby 2.7.6, which is in 'security updates only' mode and scheduled to go EOL April 2023. Updating `pkgs.ruby` to be ruby 3.1 would be a rather large change, but using ruby 3 to bootstrap building ruby itself would be a nice first step in that direction. Tested with asciidoctor that this indeed now allows building a ruby application without getting ruby 2.7 in the build closure. Also fixes #192729
Diffstat (limited to 'pkgs/development/interpreters/ruby')
-rw-r--r-- | pkgs/development/interpreters/ruby/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix index 524734b5a5fac..dc7594da17d92 100644 --- a/pkgs/development/interpreters/ruby/default.nix +++ b/pkgs/development/interpreters/ruby/default.nix @@ -48,7 +48,7 @@ let , buildEnv, bundler, bundix , libiconv, libobjc, libunwind, Foundation , makeWrapper, buildRubyGem, defaultGemConfig - , baseRuby ? buildPackages.ruby.override { + , baseRuby ? buildPackages.ruby_3_1.override { useRailsExpress = false; docSupport = false; rubygemsSupport = false; |