Skip to content

channels: make nixpkgs-unstable primary#921

Open
fricklerhandwerk wants to merge 1 commit intoNixOS:mainfrom
fricklerhandwerk:nixpkgs-unstable-primary
Open

channels: make nixpkgs-unstable primary#921
fricklerhandwerk wants to merge 1 commit intoNixOS:mainfrom
fricklerhandwerk:nixpkgs-unstable-primary

Conversation

@fricklerhandwerk
Copy link
Contributor

@fricklerhandwerk fricklerhandwerk commented Dec 20, 2025

For the Nixpkgs security tracker UI we want to aggregate variants under their primary channels.
This can only be approximated heuristically, but channels.nix is authoritative and the closest to consistent we have.

So I wondered why nixpkgs-unstable is not primary. When this structure was established in #189, the field was simply ommited in #189 (comment).
Am I missing something from the semantics of "primary" that would forbid this change?

What makes a channel primary anyway? That the maximum number of tests is run?

@fricklerhandwerk fricklerhandwerk requested a review from a team as a code owner December 20, 2025 00:51
@fricklerhandwerk

This comment was marked as resolved.

@vcunat

This comment was marked as resolved.

@vcunat
Copy link
Member

vcunat commented Dec 20, 2025

The only place using this which I found is the tarball mirroring script in this repo. That one currently requires that there's only one channel that's both stable and primary, so this wouldn't break that property. (and the script has been broken for other reasons for quite some time anyway)

@Mic92

This comment was marked as resolved.

@Mic92 Mic92 force-pushed the nixpkgs-unstable-primary branch from f360f56 to e1ebdc3 Compare December 24, 2025 22:18
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.

3 participants