Repository navigation
cudaPackages.buildRedist: do not require config.cudaSupport to be enabled - #457220
Merged
Merged
Conversation
nix-owners
Bot
requested review from
GaetanLepage,
SomeoneSerge,
prusnak and
samuela
October 31, 2025 12:13
Contributor
Author
GaetanLepage
approved these changes
Oct 31, 2025
ConnorBaker
approved these changes
Oct 31, 2025
Contributor
|
The @NixOS/cuda-maintainers have decided to merge this to prevent breakage in the short term. We will evaluate reintroduction at a later time. |
1 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The rationale behind this change has been comprehensively outlined in #457218
Summary: Setting
config.cudaSupportglobally is undesirable in most scenarios, due to the immense amount of rebuilds it causes (even for unrelated packages), therefore we should not require users to do so.Additionally, this derivation prevents the installation of certain packages in nixpkgs by default (e.g.
nvtopPackages.full), making these difficult to install on non-NixOS systems (especially for inexperienced users), despite being fully functional when built.Derivations should instead ensure that their dependencies are built with the required support.
Closes #457218
Closes #456940
Closes #456928
Things done
Packages built:
nvtopPackages.fullpassthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.cc @ConnorBaker
Add a 👍 reaction to pull requests you find important.