diff --git a/pkgs/by-name/x2/x264/package.nix b/pkgs/by-name/x2/x264/package.nix index 48852d9215b0..7e209794f89b 100644 --- a/pkgs/by-name/x2/x264/package.nix +++ b/pkgs/by-name/x2/x264/package.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation { # `AS' is set to the binutils assembler, but we need nasm unset AS '' - + lib.optionalString stdenv.hostPlatform.isAarch '' + + lib.optionalString (stdenv.hostPlatform.isAarch || stdenv.hostPlatform.isLoongArch64) '' export AS=$CC '';