rubyPackages.ovirt-engine-sdk: fix build on ruby 3.1 and higher
Include a patch merged but not released upstream.
This commit is contained in:
parent
48a0fb7aab
commit
a1200481f2
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue