Skip to content

cudaPackages: migrate to meta.problems#183

Open
nixos-cuda-channel-updater[bot] wants to merge 2 commits into
nixos-cuda:masterfrom
ConnorBaker:feat/cuda-packages-meta-problems-minimal
Open

cudaPackages: migrate to meta.problems#183
nixos-cuda-channel-updater[bot] wants to merge 2 commits into
nixos-cuda:masterfrom
ConnorBaker:feat/cuda-packages-meta-problems-minimal

Conversation

@nixos-cuda-channel-updater

Copy link
Copy Markdown

Clone of NixOS#533181 for CI

ConnorBaker and others added 2 commits June 19, 2026 03:04
Adds `unsupported` to the set of problem kinds that may be specified in
`meta.problems`, defaulting to an error that is bypassed by
`allowUnsupportedSystem` (mirroring how `broken` is bypassed by
`allowBroken`). This is purely additive: the legacy
`meta.platforms`/`meta.badPlatforms` platform check in check-meta.nix is
left untouched, so the two unsupported mechanisms coexist.

Adds problems test cases covering the new kind: error-by-default
(unsupported-manual), and the two bypass paths (allow-unsupported via
config, allow-unsupported-env via NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant