Unverified Commit ebf18553 authored by Jared Baur's avatar Jared Baur
Browse files

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.
parent 15e13d61
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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