From 94e294941b7a3adfce77c77cab981d1abb13f695 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 29 Apr 2025 21:37:06 +0200 Subject: [PATCH] ffmpeg-headless: fix loongarch64-linux build --- pkgs/development/libraries/ffmpeg/generic.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index 02821bc0fe0c..a013456cc403 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -72,7 +72,12 @@ withNvcodec ? withHeadlessDeps && ( - with stdenv; !isDarwin && !isAarch32 && !hostPlatform.isRiscV && hostPlatform == buildPlatform + with stdenv; + !isDarwin + && !isAarch32 + && !hostPlatform.isLoongArch64 + && !hostPlatform.isRiscV + && hostPlatform == buildPlatform ), # dynamically linked Nvidia code withFlite ? withFullDeps, # Voice Synthesis withFontconfig ? withHeadlessDeps, # Needed for drawtext filter