-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
addDriverRunpath: init #269475
addDriverRunpath: init #269475
Conversation
should |
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.
Much more intuitive! 👍
This is obviously an improvement. Since we don't change the names too often, I wonder if we do want the new name to suggest that there should be one "merged" path for all of the impure dependencies: be that libgbm, or libcuda, or whatever is the next thing. This means that if we expose something impure to a program, we expose everything at once. Btw the link to the rendered rfc is now broken |
25103a4
to
3591671
Compare
3591671
to
1c740a2
Compare
changed the name to |
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.
Diff LGTM!
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.
Looks great! Thank you so much for spearheading this @jonringer -- an important cleanup!
cc @infinisil before I start updating the Nixpkgs Manual entries, and doing a treewide rename. |
Just from a glance this looks fine to me :) |
Needs a rebase for the 24.05 manual, then we can merge :) |
1c740a2
to
20f5e3a
Compare
Bibliography: - https://discourse.nixos.org/t/on-nixpkgs-and-the-ai-follow-up-to-2023-nix-developer-dialogues/37087 - https://nixos.org/community/teams/cuda - https://github.com/orgs/NixOS/projects/27 - https://alternativebit.fr/posts/nixos/nix-opengl-and-ubuntu-integration-nightmare - https://lobste.rs/s/7h20zl/nix_opengl_ubuntu_integration_nightmare - NixOS/nixpkgs#11390 (comment) - NixOS/nixpkgs#269475 - tweag/nix-hour#61
Bibliography: - https://discourse.nixos.org/t/on-nixpkgs-and-the-ai-follow-up-to-2023-nix-developer-dialogues/37087 - https://nixos.org/community/teams/cuda - https://github.com/orgs/NixOS/projects/27 - https://alternativebit.fr/posts/nixos/nix-opengl-and-ubuntu-integration-nightmare - https://lobste.rs/s/7h20zl/nix_opengl_ubuntu_integration_nightmare - NixOS/nixpkgs#11390 (comment) - NixOS/nixpkgs#269475 - tweag/nix-hour#61
Bibliography: - https://discourse.nixos.org/t/on-nixpkgs-and-the-ai-follow-up-to-2023-nix-developer-dialogues/37087 - https://nixos.org/community/teams/cuda - https://github.com/orgs/NixOS/projects/27 - https://alternativebit.fr/posts/nixos/nix-opengl-and-ubuntu-integration-nightmare - https://lobste.rs/s/7h20zl/nix_opengl_ubuntu_integration_nightmare - NixOS/nixpkgs#11390 (comment) - NixOS/nixpkgs#269475 - tweag/nix-hour#61
Bibliography: - https://discourse.nixos.org/t/on-nixpkgs-and-the-ai-follow-up-to-2023-nix-developer-dialogues/37087 - https://nixos.org/community/teams/cuda - https://github.com/orgs/NixOS/projects/27 - https://alternativebit.fr/posts/nixos/nix-opengl-and-ubuntu-integration-nightmare - https://lobste.rs/s/7h20zl/nix_opengl_ubuntu_integration_nightmare - NixOS/nixpkgs#11390 (comment) - NixOS/nixpkgs#269475 - tweag/nix-hour#61
Description of changes
Less opinionated version of #196174
Allows for usage of
addDriverRunapth
, this way the setuphook is available to allow for a larger window for people to transition fromaddOpenGLRunpath
setuphook.Additional Context: rfc #121
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/
)Priorities
Add a 👍 reaction to pull requests you find important.