diff --git a/pkgs/applications/radio/sdrangel/default.nix b/pkgs/applications/radio/sdrangel/default.nix index ed12a0114b28..4f076ddf605b 100644 --- a/pkgs/applications/radio/sdrangel/default.nix +++ b/pkgs/applications/radio/sdrangel/default.nix @@ -12,6 +12,7 @@ dsdcc, faad2, fetchFromGitHub, + fetchpatch, fftwFloat, flac, glew, @@ -115,6 +116,14 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ] ++ lib.optionals withSDRplay [ sdrplay ]; + patches = [ + # https://github.com/f4exb/sdrangel/pull/2439 + (fetchpatch { + url = "https://github.com/f4exb/sdrangel/commit/60869b74f96b26e8a173f3f215c2badeaef9a136.patch"; + hash = "sha256-Lq9pyissNmLYavLCISga0EWbRwisGnKiz6UYhzxJatc="; + }) + ]; + cmakeFlags = [ "-DAPT_DIR=${aptdec}" "-DDAB_DIR=${dab_lib}"