11 gccMajorVersion = nvccCompatibilities.${cudaVersion}.gccMaxMajorVersion;
12 cudaStdenv = stdenvAdapters.useLibsFrom stdenv pkgs."gcc${gccMajorVersion}Stdenv";
14 # cudaPackages.backendStdenv.nixpkgsCompatibleLibstdcxx has been removed,
15 # if you need it you're likely doing something wrong. There has been a
16 # warning here for a month or so. Now we can no longer return any
17 # meaningful value in its place and drop the attribute entirely.
19 assertCondition = true;
22 # TODO: Consider testing whether we in fact use the newer libstdc++
24 lib.extendDerivation assertCondition passthruExtra cudaStdenv