Conversation
This allows flake users to make the systems list externally extensible. The default systems is: ``` [ "aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux" ] ``` See https://github.com/nix-systems/nix-systems for a full explanation
|
Looking at the inclusion policy, this PR satisfies the utility criteria (3). But "systems" is quite generic so (2) is negative. In my opinion (3) outweighs (2) |
|
|
|
I like this pattern, and even though I'm generally against the global registry entirely I think that it probably makes sense to reserve this name for this use case. I'd prefer if it was builtin somehow, but However, I do suggest leaving this open for a while to make sure the pattern is actually adopted by the ecosystem. Repos that one of the creators is able to self-merge into shouldn't really count as it being popular under criteria 4. I think that branches for individual systems probably works better for usability than different repos though, and it would allow this to just take the place of 1 spot in the registry. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
I'll wait another week and then merge it. |
|
alright, time's up! :) |
This allows flake users to make the systems list externally extensible.
The default systems is:
See https://github.com/nix-systems/nix-systems for a full explanation