[Backport release-26.05] Allow meta.problems while preventing internal use of certain kinds - #535859
Merged
Merged
Conversation
Makes future changes easier (cherry picked from commit eba1d51)
This ensures that external tooling can also process the problems, and helps users with debugging. (cherry picked from commit 8fcbb35)
This is very similar to how the aliases.nix overlay can be removed to prevent usage of them in Nixpkgs itself, but this config attribute allows preventing use of other existing attributes in Nixpkgs. Needed for a follow-up commit. (cherry picked from commit 7cc4d7d)
(cherry picked from commit 19a3165)
(cherry picked from commit a90d993)
CI already catches problematic uses, we don't need to bother about them here (cherry picked from commit 8fa1b2e)
2 tasks
MattSturgeon
enabled auto-merge
June 26, 2026 23:45
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.
Bot-based backport to
release-26.05, triggered by a label in #533376.Before merging, ensure that this backport is acceptable for the release.
Even as a non-committer, if you find that it is not acceptable, leave a comment.
Tip
If you maintain all packages touched by this pull request, and they are all located under
pkgs/by-name/*, you can comment@NixOS/nixpkgs-merge-bot mergeto automatically merge this PR using thenixpkgs-merge-bot.