mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
python3Packages.cuda-tile: fix build with newer python
distutils is gone, and while newer setuptools has a shim for distutils.file_util.copy_file, it does not support the dry_run arg, so remove as it seems not to be utilized here anyway.
This commit is contained in:
@@ -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)' ' )'
|
||||
''
|
||||
# Otherwise fails to find libc
|
||||
# xla_ffi.cpp:(.text+0x308): undefined reference to `__stack_chk_fail'
|
||||
|
||||
Reference in New Issue
Block a user