Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.torchvision: switch to backendStdenv.cc from cudatoolkit.cc #221898

Closed
ConnorBaker opened this issue Mar 18, 2023 · 1 comment · Fixed by #221950
Closed

pythonPackages.torchvision: switch to backendStdenv.cc from cudatoolkit.cc #221898

ConnorBaker opened this issue Mar 18, 2023 · 1 comment · Fixed by #221950
Assignees

Comments

@ConnorBaker
Copy link
Contributor

Since the introduction of backendStdenv in cudaPackages (#218265), derivations should use backendStdenv.cc instead of cudatoolkit.cc to further reduce the usage of the cudatoolkit attribute.

export CC=${cudatoolkit.cc}/bin/cc
export CXX=${cudatoolkit.cc}/bin/c++

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-46/26872/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants