From 242a19f42ab635e5cc9784cbc5931a866109ddce Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 28 Feb 2026 23:42:12 +0000 Subject: [PATCH] python3Packages.torchaudio: remove unused ffmpeg dependency --- .../development/python-modules/torchaudio/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkgs/development/python-modules/torchaudio/default.nix b/pkgs/development/python-modules/torchaudio/default.nix index 4f5e02968940..0245755df3e6 100644 --- a/pkgs/development/python-modules/torchaudio/default.nix +++ b/pkgs/development/python-modules/torchaudio/default.nix @@ -10,7 +10,6 @@ ninja, # buildInputs - ffmpeg_6-full, pybind11, sox, torch, @@ -99,15 +98,6 @@ buildPythonPackage.override { inherit stdenv; } (finalAttrs: { env = { TORCH_CUDA_ARCH_LIST = "${lib.concatStringsSep ";" torch.cudaCapabilities}"; - # https://github.com/pytorch/audio/blob/v2.1.0/docs/source/build.linux.rst#optional-build-torchaudio-with-a-custom-built-ffmpeg - FFMPEG_ROOT = symlinkJoin { - name = "ffmpeg"; - paths = [ - ffmpeg_6-full.bin - ffmpeg_6-full.dev - ffmpeg_6-full.lib - ]; - }; BUILD_SOX = 0; BUILD_KALDI = 0; BUILD_RNNT = 0; @@ -130,7 +120,6 @@ buildPythonPackage.override { inherit stdenv; } (finalAttrs: { ); buildInputs = [ - ffmpeg_6-full pybind11 sox torch.cxxdev