python3Packages.torchaudio: pass custom stdenv to buildPythonApplication with an override
Passing `stdenv` directly to `buildPythonPackage` or `buildPythonApplication` is deprecated with `oldestSupportedRelease = 2511`.
This commit is contained in:
@@ -74,14 +74,13 @@ let
|
||||
else
|
||||
throw "No GPU targets specified"
|
||||
);
|
||||
stdenv = torch.stdenv;
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage.override { inherit stdenv; } rec {
|
||||
pname = "torchaudio";
|
||||
version = "2.9.1";
|
||||
pyproject = true;
|
||||
|
||||
stdenv = torch.stdenv;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytorch";
|
||||
repo = "audio";
|
||||
|
||||
Reference in New Issue
Block a user