ruby: rubygems 3.2.16 -> 3.2.24
This commit is contained in:
parent
8d3b6e10f1
commit
3320ca4bcb
|
@ -12,7 +12,7 @@ let
|
||||||
opString = lib.optionalString;
|
opString = lib.optionalString;
|
||||||
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
|
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
|
||||||
config = import ./config.nix { inherit fetchFromSavannah; };
|
config = import ./config.nix { inherit fetchFromSavannah; };
|
||||||
rubygems = import ./rubygems { inherit stdenv lib fetchurl fetchpatch; };
|
rubygems = import ./rubygems { inherit stdenv lib fetchurl; };
|
||||||
|
|
||||||
# Contains the ruby version heuristics
|
# Contains the ruby version heuristics
|
||||||
rubyVersion = import ./ruby-version.nix { inherit lib; };
|
rubyVersion = import ./ruby-version.nix { inherit lib; };
|
||||||
|
|
|
@ -1,24 +1,18 @@
|
||||||
{ stdenv, lib, fetchurl, fetchpatch }:
|
{ stdenv, lib, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rubygems";
|
name = "rubygems";
|
||||||
version = "3.2.16";
|
version = "3.2.24";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://rubygems.org/rubygems/rubygems-${version}.tgz";
|
url = "https://rubygems.org/rubygems/rubygems-${version}.tgz";
|
||||||
sha256 = "1bpn45hchcbirqvqwxcxyk1xy2xkdd915jci2hfjq4y6zc4idns0";
|
sha256 = "09ff830a043y6s7390hsg3k55ffpifb1zsvs0dhz8z8pypwgiscl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./0001-add-post-extract-hook.patch
|
./0001-add-post-extract-hook.patch
|
||||||
./0002-binaries-with-env-shebang.patch
|
./0002-binaries-with-env-shebang.patch
|
||||||
./0003-gem-install-default-to-user.patch
|
./0003-gem-install-default-to-user.patch
|
||||||
# Ensure tmp directory are not left behind
|
|
||||||
# https://github.com/rubygems/rubygems/pull/4610
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/rubygems/rubygems/commit/2c2ffde6e4a9f7f571d38af687034fb8507a833d.patch";
|
|
||||||
sha256 = "sha256-bs2dXALKiJvMgk7lKjMx0NzGqlEqDYBBO35UrzNifms=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue