diff --git a/pkgs/applications/kde/angelfish.nix b/pkgs/applications/kde/angelfish.nix index 1bd6084a1883..326a9fc309ac 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}";