diff options
author | Robert Schütz <nix@dotlambda.de> | 2024-06-08 22:30:06 -0700 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2024-06-08 22:33:40 -0700 |
commit | 270cf648af9e29e9f759a37a5cb2d59dcfe64307 (patch) | |
tree | 44f3936cee132eafd0893ebec32df1f045a21dd6 | |
parent | 25d96b4c4a367e636d3f93b2cc5cf3a0da56a05f (diff) |
libsForQt5.angelfish: fix build with corrosion 0.5
-rw-r--r-- | pkgs/applications/kde/angelfish.nix | 9 |
1 files changed, 9 insertions, 0 deletions
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}"; |