cudaPackages.backendStdenv: fix eval error blocking the channel

...post https://github.com/NixOS/nixpkgs/pull/282220
This commit is contained in:
Someone Serge 2024-01-21 12:31:17 +00:00
parent d33fc5d7ee
commit 1d24d54ef4
No known key found for this signature in database
GPG Key ID: 7B0E3B1390D61DA4

View File

@ -13,8 +13,10 @@ let
gccMajorVersion = nvccCompatibilities.${cudaVersion}.gccMaxMajorVersion;
cudaStdenv = stdenvAdapters.useLibsFrom stdenv pkgs."gcc${gccMajorVersion}Stdenv";
passthruExtra = {
nixpkgsCompatibleLibstdcxx = lib.warn "cudaPackages.backendStdenv.nixpkgsCompatibleLibstdcxx is misnamed, deprecated, and will be removed after 24.05" cudaStdenv.cc.cxxStdlib.package;
# cc already exposed
# cudaPackages.backendStdenv.nixpkgsCompatibleLibstdcxx has been removed,
# if you need it you're likely doing something wrong. There has been a
# warning here for a month or so. Now we can no longer return any
# meaningful value in its place and drop the attribute entirely.
};
assertCondition = true;
in