mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #91676 from cole-h/powerdevil
powerdevil: fix build with new ddcutil [blocks nixos-unstable]
This commit is contained in:
commit
041e1ab7d7
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
mkDerivation,
|
mkDerivation, fetchpatch,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
bluez-qt, kactivities, kauth, kconfig, kdbusaddons, kdelibs4support,
|
bluez-qt, kactivities, kauth, kconfig, kdbusaddons, kdelibs4support,
|
||||||
kglobalaccel, ki18n, kidletime, kio, knotifyconfig, kwayland, libkscreen,
|
kglobalaccel, ki18n, kidletime, kio, knotifyconfig, kwayland, libkscreen,
|
||||||
|
@ -18,4 +18,14 @@ mkDerivation {
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DHAVE_DDCUTIL=On"
|
"-DHAVE_DDCUTIL=On"
|
||||||
];
|
];
|
||||||
|
patches = [
|
||||||
|
# This fixes an issue where 'DDCA_Feature_List*' cannot be converted to
|
||||||
|
# 'DDCA_Feature_List'.
|
||||||
|
# This can be dropped with the next release.
|
||||||
|
# https://bugs.kde.org/show_bug.cgi?id=423605
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://invent.kde.org/plasma/powerdevil/-/commit/fcb26be2fb279e6ad3b7b814d26a5921d16201eb.patch";
|
||||||
|
sha256 = "0gdyaa0nd1c1d6x2h0m933lascm8zm5sikd99wxmkf7hhaby6k2s";
|
||||||
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue