python3Packages.cuda-tile: fix build with newer python (#550175)

This commit is contained in:
Gaétan Lepage
2026-08-08 11:44:10 +00:00
committed by GitHub

View File

@@ -49,6 +49,8 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools==80.10.2" "setuptools"
substituteInPlace setup.py \
--replace-fail ' dry_run=self.dry_run)' ' )'
''
# Remove deprecated parameter in setuptools
# https://github.com/NixOS/nixpkgs/issues/550403