cudaPackages: remove libstdc++ from nsight-systems from cuda 10

CUDA's nsight-systems comes with its own version of libstdc++.so that conflicts
with stuff compiled against nixpkgs libstdc++, so lets remove it.
This commit is contained in:
Jared Baur 2024-01-19 15:57:13 -08:00
parent 15e13d61d6
commit ebf185539f
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ backendStdenv.mkDerivation rec {
${lib.optionalString (lib.versionAtLeast version "10.1" && lib.versionOlder version "11") ''
cd pkg/builds/cuda-toolkit
mv * $out/
rm -f $out/nsight-systems-*/host-linux-x64/libstdc++.so*
''}
${lib.optionalString (lib.versionAtLeast version "11") ''
mkdir -p $out/bin $out/lib64 $out/include $doc