-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
cudaPackages: drop outdated aliases #331017
Conversation
I'd also maybe start with the last item and check if there are any other components forcing evaluation to reach the traces. |
@SomeoneSerge Oops, I raced you. Sure, let me do the version check instead. |
409a556
to
ab2d64d
Compare
@SomeoneSerge Alright, how's this? I had to jump some hoops to allow the empty aliases infrastructure to pass CI checks, but nothing too bad I suppose. |
# let | ||
# mkRenamed = | ||
# oldName: newName: newPkg: | ||
# final.lib.warn "cudaPackages.${oldName} is deprecated, use ${newName} instead" newPkg; | ||
# in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, here we go: #331085
3632982
to
6e7b739
Compare
6e7b739
to
2a94466
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Description of changes
Related to #306276
These traces are annoying in a lot of cases, and I think we should be good to remove them by now. I nuked all of aliases.nix for cuda-modules while I was at it. If this is heavy-handed, let me know.
For me personally, I could also live with removing this check in torch, which ends up triggering every alias in cudaPackages because of the equality check;
nixpkgs/pkgs/development/python-modules/torch/default.nix
Line 206 in 04404c0
But one or the other has to go. 😸
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.