libvirt-glib: fix build with GLib 2.70
This commit is contained in:
parent
3a22f6f947
commit
55e4899855
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue