diff options
author | K900 <me@0upti.me> | 2023-11-02 19:42:55 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-11-03 14:16:50 +0300 |
commit | 66be2216ebe0546d2dc302a83f3cd89b28ae57c7 (patch) | |
tree | 9b61c5417c767d08359838ed01e2cfa280a3f7cf /pkgs/development/libraries/kde-frameworks | |
parent | 36824b3f61e8557b723157fd8f70a551d0e20433 (diff) |
libsForQt5.networkmanager-qt: backport patches to fix NM 1.44 incompatibility
Fixes #263985.
Diffstat (limited to 'pkgs/development/libraries/kde-frameworks')
-rw-r--r-- | pkgs/development/libraries/kde-frameworks/networkmanager-qt.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/libraries/kde-frameworks/networkmanager-qt.nix b/pkgs/development/libraries/kde-frameworks/networkmanager-qt.nix index e9f812d68da8..a9d4baebf1c1 100644 --- a/pkgs/development/libraries/kde-frameworks/networkmanager-qt.nix +++ b/pkgs/development/libraries/kde-frameworks/networkmanager-qt.nix @@ -2,10 +2,25 @@ mkDerivation, lib, extra-cmake-modules, networkmanager, qtbase, + fetchpatch }: mkDerivation { pname = "networkmanager-qt"; + + # backport patches for NetworkManager 1.44 compatibility + # FIXME: remove in 5.112 + patches = [ + (fetchpatch { + url = "https://invent.kde.org/frameworks/networkmanager-qt/-/commit/d9a938ddbfb5800503935926301ff2865ab77a6d.patch"; + hash = "sha256-EjFBcU0YJQocp8skDZUTxCQhfrtQP5Fdo8q1BC9lLnQ="; + }) + (fetchpatch { + url = "https://invent.kde.org/frameworks/networkmanager-qt/-/commit/d35c6cb97443424d228dfd8eee8282af6632b5f5.patch"; + hash = "sha256-KmRcCjdHGGk+5PY5JKNbk0BHCtdwibns+Hw4aNRaoZI="; + }) + ]; + nativeBuildInputs = [ extra-cmake-modules ]; propagatedBuildInputs = [ networkmanager qtbase ]; outputs = [ "out" "dev" ]; |