kdePackages.kdeconnect-kde: fix build with Qt 6.9

This commit is contained in:
K900 2025-04-05 20:54:52 +03:00
parent 60f0515338
commit 0c3b7c7174

View file

@ -10,6 +10,7 @@
wayland,
wayland-protocols,
libfakekey,
fetchpatch,
}:
mkKdeDerivation {
pname = "kdeconnect-kde";
@ -18,6 +19,13 @@ mkKdeDerivation {
(replaceVars ./hardcode-sshfs-path.patch {
sshfs = lib.getExe sshfs;
})
# Fix build with Qt 6.9
# FIXME: remove in next update
(fetchpatch {
url = "https://invent.kde.org/network/kdeconnect-kde/-/commit/120a089ed8a45176289b8f1addf044817b13aa7b.patch";
hash = "sha256-ifos4wMFimhtksqMhhHPfHrEV5+PSXLdapgqGwQj/Hc=";
})
];
# Hardcoded as a QString, which is UTF-16 so Nix can't pick it up automatically