python3Packages.cupy: fix build

This commit is contained in:
Samuel Ainsworth 2022-04-19 20:00:18 +00:00
parent cc12a29221
commit 4cbce55388

View file

@ -1958,7 +1958,11 @@ in {
cufflinks = callPackage ../development/python-modules/cufflinks { };
cupy = callPackage ../development/python-modules/cupy { };
cupy = callPackage ../development/python-modules/cupy {
# cupy doesn't build on gcc11. CUDA 11.3 is the last version to use
# pre-gcc11, in particular gcc9.
cudaPackages = pkgs.cudaPackages_11_3;
};
curio = callPackage ../development/python-modules/curio { };