-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
addOpenGLRunpath: deprecate #275241
addOpenGLRunpath: deprecate #275241
Conversation
39d0fb6
to
498f546
Compare
12796d9
to
651a917
Compare
651a917
to
d866f75
Compare
5004111
to
d972a62
Compare
d972a62
to
52af22e
Compare
Looks like |
52af22e
to
c09be86
Compare
As #301176 already dealt with the CUDA part, I rebased and reduced the scope of this PR to |
c09be86
to
bd25f10
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4089 |
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
bd25f10
to
416ba88
Compare
@@ -69,6 +69,8 @@ mapAliases ({ | |||
adtool = throw "'adtool' has been removed, as it was broken and unmaintained"; | |||
adom = throw "'adom' has been removed, as it was broken and unmaintained"; # added 2024-05-09 | |||
advcpmv = throw "'advcpmv' has been removed, as it is not being actively maintained and break recent coreutils."; # Added 2024-03-29 | |||
# Post 24.11 branch-off, this should throw an error | |||
addOpenGLRunpath = addDriverRunpath; # Added 2024-05-25 |
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.
I think it's OK to make this a lib.warn
even
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.
I tried that in the first iteration of this PR, but ofborg will complain as it'll try to evaluate addOpenGLRunpath
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.
If we could ensure it doesn't complain later in other people's PRs... regardless, let's just merge this as is
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.
Actually. I'm pretty sure warn
s in aliases.nix
are allowed. Ofborg should only complain if there's a derivation left that actually asks for addOpenGLRunpath
instead of addDriverRunpath
Thank you @Scrumplex |
`addOpenGLRunpath` was deprecated in this PR NixOS/nixpkgs#275241
Description of changes
Now that #269475 is merged, let's go ahead and
addOpenGLRunpath
addDriverRunPath
It looks like the last PR didn't introduce anSee #301176autoAddDriverRunpathHook
helper for cuda packages. If desired, I can move it into a separate PR.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.