diff options
author | Stanisław Pitucha <git@viraptor.info> | 2023-05-20 21:40:22 +1000 |
---|---|---|
committer | Stanisław Pitucha <git@viraptor.info> | 2023-05-20 21:40:22 +1000 |
commit | a1200481f28b4637f9a8738e1bfd9ebbba3d5bdb (patch) | |
tree | 613793e1cb1c397fe46d31d9206e12ea5cdd0458 /pkgs/development/ruby-modules | |
parent | 48a0fb7aab511df92a17cf239c37f2bd2ec9ae3a (diff) |
rubyPackages.ovirt-engine-sdk: fix build on ruby 3.1 and higher
Include a patch merged but not released upstream.
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r-- | pkgs/development/ruby-modules/gem-config/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 5dba1c0cf0996..4f70f9af751ca 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -27,7 +27,7 @@ , bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk , bundler, libsass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie , CoreServices, DarwinTools, cctools, libtool, discount, exiv2, libmaxminddb, libyaml -, autoSignDarwinBinariesHook +, autoSignDarwinBinariesHook, fetchpatch }@args: let @@ -530,6 +530,15 @@ in ovirt-engine-sdk = attrs: { buildInputs = [ curl libxml2 ]; + dontBuild = false; + patches = [ + # fix ruby 3.1 https://github.com/oVirt/ovirt-engine-sdk-ruby/pull/3 + (fetchpatch { + url = "https://github.com/oVirt/ovirt-engine-sdk-ruby/pull/3/commits/b596b919bc7857fdc0fc1c61a8cb7eab32cfc2db.patch"; + hash = "sha256-AzGTQaD/e6X4LOMuXhy/WhbayhWKYCGHXPFlzLRWyPM="; + stripLen = 1; + }) + ]; }; pango = attrs: { |