python3Packages.torchaudio: customize pname of the gpuCheck derivation

This commit is contained in:
Gaetan Lepage
2026-03-28 23:11:24 +00:00
parent 1b84b0eca0
commit 9bca68f253
@@ -119,6 +119,7 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
];
passthru.gpuCheck = torchaudio.overridePythonAttrs (old: {
pname = "${finalAttrs.pname}-gpuCheck";
requiredSystemFeatures = [ "cuda" ];
env = (old.env or { }) // {