libvirt-glib: fix build with GLib 2.70

This commit is contained in:
Jan Tojnar 2021-09-28 14:09:39 +02:00
parent 3a22f6f947
commit 55e4899855

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
@ -25,6 +26,14 @@ stdenv.mkDerivation rec {
sha256 = "hCP3Bp2qR2MHMh0cEeLswoU0DNMsqfwFIHdihD7erL0=";
};
patches = [
# Fix build with GLib 2.70
(fetchpatch {
url = "https://gitlab.com/libvirt/libvirt-glib/-/commit/9a34c4ea55e0246c34896e48b8ecd637bc559ac7.patch";
sha256 = "UU70uTi55EzPMuLYVKRzpVcd3WogeAtWAWEC2hWlR7k=";
})
];
nativeBuildInputs = [
meson
ninja