diff --git a/pkgs/applications/radio/pothos/default.nix b/pkgs/applications/radio/pothos/default.nix index 1b36b36829a0..6691ffe2dd45 100644 --- a/pkgs/applications/radio/pothos/default.nix +++ b/pkgs/applications/radio/pothos/default.nix @@ -1,6 +1,7 @@ { lib , mkDerivation , fetchFromGitHub +, fetchpatch , cmake , pkg-config , doxygen @@ -33,6 +34,12 @@ mkDerivation rec { patches = [ # spuce's CMakeLists.txt uses QT5_USE_Modules, which does not seem to work on Nix ./spuce.patch + # Poco had some breaking API changes in 1.12 + (fetchpatch { + name = "poco-1.12-compat.patch"; + url = "https://github.com/pothosware/PothosCore/commit/092d1209b0fd0aa8a1733706c994fa95e66fd017.patch"; + hash = "sha256-bZXG8kD4+1LgDV8viZrJ/DMjg8UvW7b5keJQDXurfkA="; + }) ]; nativeBuildInputs = [ cmake pkg-config doxygen wrapQtAppsHook ];