about summary refs log tree commit diff
path: root/pkgs/applications/kde
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2024-06-08 22:30:06 -0700
committerRobert Schütz <nix@dotlambda.de>2024-06-08 22:33:40 -0700
commit270cf648af9e29e9f759a37a5cb2d59dcfe64307 (patch)
tree44f3936cee132eafd0893ebec32df1f045a21dd6 /pkgs/applications/kde
parent25d96b4c4a367e636d3f93b2cc5cf3a0da56a05f (diff)
libsForQt5.angelfish: fix build with corrosion 0.5
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r--pkgs/applications/kde/angelfish.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/kde/angelfish.nix b/pkgs/applications/kde/angelfish.nix
index 1bd6084a1883b..326a9fc309ac2 100644
--- a/pkgs/applications/kde/angelfish.nix
+++ b/pkgs/applications/kde/angelfish.nix
@@ -4,6 +4,7 @@
 , cmake
 , corrosion
 , extra-cmake-modules
+, fetchpatch2
 , futuresql
 , kconfig
 , kcoreaddons
@@ -30,6 +31,14 @@
 mkDerivation rec {
   pname = "angelfish";
 
+  patches = [
+    (fetchpatch2 {
+      name = "fix-build-with-corrosion-0.5.patch";
+      url = "https://invent.kde.org/network/angelfish/-/commit/b04928e3b62a11b647622b81fb67b7c0db656ac8.patch";
+      hash = "sha256-9rpkMKQKrvGJFIQDwSIeeZyk4/vd348r660mBOKzM2E=";
+    })
+  ];
+
   cargoDeps = rustPlatform.fetchCargoTarball {
     # include version in the name so we invalidate the FOD
     name = "${pname}-${srcs.angelfish.version}";