virt-viewer: fix build with meson 0.61

This commit is contained in:
Bobby Rong 2022-03-30 19:47:00 +08:00
parent 6a079dad15
commit 32d1e6082c
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -2,6 +2,7 @@
, stdenv
, bash-completion
, fetchurl
, fetchpatch
, gdbm ? null
, glib
, gsettings-desktop-schemas
@ -43,6 +44,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-pD+iMlxMHHelyMmAZaww7wURohrJjlkPIjQIabrZq9A=";
};
patches = [
# Fix build with meson 0.61
# https://gitlab.com/virt-viewer/virt-viewer/-/merge_requests/117
(fetchpatch {
url = "https://gitlab.com/virt-viewer/virt-viewer/-/commit/ed19e51407bee53988878a6ebed4e7279d00b1a1.patch";
sha256 = "sha256-3AbnkbhWOh0aNjUkmVoSV/9jFQtvTllOr7plnkntb2o=";
})
];
nativeBuildInputs = [
glib
intltool