ruby_3_2: drop
This commit is contained in:
@@ -8,7 +8,7 @@ In the Nixpkgs tree, Ruby packages can be found throughout, depending on what th
|
||||
|
||||
There are two main approaches for using Ruby with gems. One is to use a specifically locked `Gemfile` for an application that has very strict dependencies. The other is to depend on the common gems, which we'll explain further down, and rely on them being updated regularly.
|
||||
|
||||
The interpreters have common attributes, namely `gems`, and `withPackages`. So you can refer to `ruby.gems.nokogiri`, or `ruby_3_2.gems.nokogiri` to get the Nokogiri gem already compiled and ready to use.
|
||||
The interpreters have common attributes, namely `gems`, and `withPackages`. So you can refer to `ruby.gems.nokogiri`, or `ruby_3_4.gems.nokogiri` to get the Nokogiri gem already compiled and ready to use.
|
||||
|
||||
Since not all gems have executables like `nokogiri`, it's usually more convenient to use the `withPackages` function like this: `ruby.withPackages (p: with p; [ nokogiri ])`. This will also make sure that the Ruby in your environment will be able to find the gem and it can be used in your Ruby code (for example via `ruby` or `irb` executables) via `require "nokogiri"` as usual.
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ in
|
||||
enable = lib.mkEnableOption "Redmine, a project management web application";
|
||||
|
||||
package = lib.mkPackageOption pkgs "redmine" {
|
||||
example = "redmine.override { ruby = pkgs.ruby_3_2; }";
|
||||
example = "redmine.override { ruby = pkgs.ruby_3_4; }";
|
||||
};
|
||||
|
||||
user = lib.mkOption {
|
||||
|
||||
@@ -393,12 +393,6 @@ in
|
||||
mkRubyVersion = rubyVersion;
|
||||
mkRuby = generic;
|
||||
|
||||
ruby_3_2 = generic {
|
||||
version = rubyVersion "3" "2" "9" "";
|
||||
hash = "sha256-q7rZjbmusVJ3Ow01ho5QADuMRn89BhUld8Tf7Z2I7So=";
|
||||
cargoHash = "sha256-CMVx5/+ugDNEuLAvyPN0nGHwQw6RXyfRsMO9I+kyZpk=";
|
||||
};
|
||||
|
||||
ruby_3_3 = generic {
|
||||
version = rubyVersion "3" "3" "9" "";
|
||||
hash = "sha256-0ZkWkKThcjPsazx4RMHhJFwK3OPgDXE1UdBFhGe3J7E=";
|
||||
|
||||
@@ -5,8 +5,10 @@ let
|
||||
lib = pkgs.lib;
|
||||
stdenv = pkgs.stdenv;
|
||||
|
||||
rubyVersions = with pkgs; [
|
||||
ruby_3_2
|
||||
rubyVersions = [
|
||||
# TODO FIXME: All versions listed here were dropped from Nixpkgs.
|
||||
# Add current versions here or remove this file if it’s no longer
|
||||
# being used.
|
||||
];
|
||||
|
||||
gemTests = (lib.mapAttrs (name: gem: [ name ]) pkgs.ruby.gems) // (import ./require_exceptions.nix);
|
||||
|
||||
@@ -2355,7 +2355,9 @@ mapAliases {
|
||||
rr-unstable = rr; # Added 2022-09-17
|
||||
rtx = mise; # Added 2024-01-05
|
||||
ruby_3_1 = throw "ruby_3_1 has been removed, as it is has reached end‐of‐life upstream"; # Added 2025-10-12
|
||||
ruby_3_2 = throw "ruby_3_2 has been removed, as it will reach end‐of‐life upstream during Nixpkgs 25.11’s support cycle"; # Added 2025-10-12
|
||||
rubyPackages_3_1 = throw "rubyPackages_3_1 has been removed, as it is has reached end‐of‐life upstream"; # Added 2025-10-12
|
||||
rubyPackages_3_2 = throw "rubyPackages_3_2 has been removed, as it will reach end‐of‐life upstream during Nixpkgs 25.11’s support cycle"; # Added 2025-10-12
|
||||
ruby-zoom = throw "'ruby-zoom' has been removed due to lack of maintaince and had not been updated since 2020"; # Added 2025-08-24
|
||||
runCommandNoCC = runCommand; # Added 2021-08-15
|
||||
runCommandNoCCLocal = runCommandLocal; # Added 2021-08-15
|
||||
|
||||
@@ -6036,7 +6036,6 @@ with pkgs;
|
||||
})
|
||||
mkRubyVersion
|
||||
mkRuby
|
||||
ruby_3_2
|
||||
ruby_3_3
|
||||
ruby_3_4
|
||||
ruby_3_5
|
||||
@@ -6045,7 +6044,6 @@ with pkgs;
|
||||
ruby = ruby_3_3;
|
||||
rubyPackages = rubyPackages_3_3;
|
||||
|
||||
rubyPackages_3_2 = recurseIntoAttrs ruby_3_2.gems;
|
||||
rubyPackages_3_3 = recurseIntoAttrs ruby_3_3.gems;
|
||||
rubyPackages_3_4 = recurseIntoAttrs ruby_3_4.gems;
|
||||
rubyPackages_3_5 = recurseIntoAttrs ruby_3_5.gems;
|
||||
|
||||
Reference in New Issue
Block a user