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:
parent
15e13d61d6
commit
ebf185539f
|
@ -235,6 +235,7 @@ backendStdenv.mkDerivation rec {
|
||||||
${lib.optionalString (lib.versionAtLeast version "10.1" && lib.versionOlder version "11") ''
|
${lib.optionalString (lib.versionAtLeast version "10.1" && lib.versionOlder version "11") ''
|
||||||
cd pkg/builds/cuda-toolkit
|
cd pkg/builds/cuda-toolkit
|
||||||
mv * $out/
|
mv * $out/
|
||||||
|
rm -f $out/nsight-systems-*/host-linux-x64/libstdc++.so*
|
||||||
''}
|
''}
|
||||||
${lib.optionalString (lib.versionAtLeast version "11") ''
|
${lib.optionalString (lib.versionAtLeast version "11") ''
|
||||||
mkdir -p $out/bin $out/lib64 $out/include $doc
|
mkdir -p $out/bin $out/lib64 $out/include $doc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user