diff --git a/pkgs/by-name/sd/sdrangel/package.nix b/pkgs/by-name/sd/sdrangel/package.nix index 562220f0386a..203ac01b72c9 100644 --- a/pkgs/by-name/sd/sdrangel/package.nix +++ b/pkgs/by-name/sd/sdrangel/package.nix @@ -12,6 +12,7 @@ dsdcc, faad2, fetchFromGitHub, + fetchpatch, fftwFloat, flac, glew, @@ -51,6 +52,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-VYSM9ldzx/8tWKQb++qGROSXdeEXIDhGqnnHUmkW4+k="; }; + patches = [ + # Fix build with Qt 6.10, remove when the commit reaches a release + (fetchpatch { + url = "https://github.com/f4exb/sdrangel/commit/fd6a8d51f8c39fd31b4e864f528bf1921ebd4260.patch"; + hash = "sha256-S8LQbCTEgyEt1wByDsDMqqyQjK5HALtvUIODgQ1skSA="; + }) + ]; + nativeBuildInputs = [ cmake ninja