rubygems: fix for Ruby with no openssl

This fixes the rubyMinimal package.
This commit is contained in:
Alyssa Ross
2019-12-30 16:11:23 +01:00
committed by Frederik Rietdijk
parent 5f2d96ba2e
commit a08e5665fa
2 changed files with 7 additions and 2 deletions
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl }:
{ stdenv, lib, fetchurl, fetchpatch }:
stdenv.mkDerivation rec {
name = "rubygems";
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
./0001-add-post-extract-hook.patch
./0002-binaries-with-env-shebang.patch
./0003-gem-install-default-to-user.patch
(fetchpatch {
url = "https://github.com/rubygems/rubygems/commit/0af4d2d369ff580ef54839ec15a8c7ec419978cb.patch";
sha256 = "13gyfxn4rmxq1dbxq5rzphnhagn8n8kpp8lb9h6h4s9d4zaklax9";
})
];
installPhase = ''