python3Packages.torch: Fix 'setuptools' not being found with ROCm build

This commit is contained in:
Madoura 2023-10-10 01:43:09 -05:00
parent 58f70713eb
commit aeccee810a
No known key found for this signature in database
GPG key ID: 1B9BB76A2B71922D

View file

@ -101,6 +101,11 @@ let
rocminfo rocm-thunk rocm-comgr rocm-device-libs
rocm-runtime clr.icd hipify
];
# Fix `setuptools` not being found
postBuild = ''
rm -rf $out/nix-support
'';
};
brokenConditions = attrsets.filterAttrs (_: cond: cond) {