mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
virt-manager-qt: Add patch to rename variables
KDE/krdc@56a0222b51 renamed some variables resulting in a build failure. The added patch renames the variables in virt-manager-qt accordingly.
This commit is contained in:
parent
c04277eb1e
commit
643bdb404e
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
|
{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, pkgconfig
|
||||||
, qtbase, qtmultimedia, qtsvg, qttools, krdc
|
, qtbase, qtmultimedia, qtsvg, qttools, krdc
|
||||||
, libvncserver, libvirt, pcre, pixman, qtermwidget, spice-gtk, spice-protocol
|
, libvncserver, libvirt, pcre, pixman, qtermwidget, spice-gtk, spice-protocol
|
||||||
, libselinux, libsepol, utillinux
|
, libselinux, libsepol, utillinux
|
||||||
@ -20,6 +20,15 @@ mkDerivation rec {
|
|||||||
"-DQTERMWIDGET_INCLUDE_DIRS=${qtermwidget}/include/qtermwidget5"
|
"-DQTERMWIDGET_INCLUDE_DIRS=${qtermwidget}/include/qtermwidget5"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# Maintainer note: Check whether this patch is still needed when a new version is released
|
||||||
|
name = "krdc-variable-name-changes.patch";
|
||||||
|
url = "https://github.com/fadenb/qt-virt-manager/commit/4640f5f64534ed7c8a1ecc6851f1c7503988de6d.patch";
|
||||||
|
sha256 = "1chl58nra1mj96n8jmnjbsyr6vlwkhn38afhwqsbr0bgyg23781v";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase qtmultimedia qtsvg krdc
|
qtbase qtmultimedia qtsvg krdc
|
||||||
libvirt libvncserver pcre pixman qtermwidget spice-gtk spice-protocol
|
libvirt libvncserver pcre pixman qtermwidget spice-gtk spice-protocol
|
||||||
|
Loading…
Reference in New Issue
Block a user