cudaPackages.cudatoolkit: python27 -> python3

python27 was recently marked as insecure, breaking cudaPackages.cudatoolkit. This commit has been successfully tested against the earliest supported, 10.0, and the latest supported, 11.8, with the assumption that intermediate versions ought to work as well.
This commit is contained in:
Samuel Ainsworth 2023-01-08 03:47:26 +00:00
parent 1b76175370
commit 9756d10158

View file

@ -20,7 +20,7 @@ args@
, makeWrapper
, ncurses5
, perl
, python27
, python3
, requireFile
, stdenv
, unixODBC
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl makeWrapper addOpenGLRunpath ];
buildInputs = [ gdk-pixbuf ]; # To get $GDK_PIXBUF_MODULE_FILE via setup-hook
runtimeDependencies = [
ncurses5 expat python27 zlib glibc
ncurses5 expat python3 zlib glibc
xorg.libX11 xorg.libXext xorg.libXrender xorg.libXt xorg.libXtst xorg.libXi xorg.libXext
gtk2 glib fontconfig freetype unixODBC alsa-lib
];