Pull nixpkgs as tarball from channels.nixos.org#61
Closed
mweinelt wants to merge 1 commit into
Closed
Conversation
It comes with IPv6 support, no rate-limiting and is well distributed thanks to Fastly.
Member
Author
|
Apparently you can pass a branch like The whole flake registry repo lacks documentation & tests and is GitHub-brained. Disappointing. Very little templating on the tarball URL would be able to complement the branch functionality. |
Contributor
|
Btw I think we can make an improvement here - PR incoming. There's actually a bit of undocumented resolution hackery that will help us a lot. (Though I feel like knowledge of this particular feature has been bestowed on a cursed few). |
Member
Author
|
Superseded by #62 |
edolstra
pushed a commit
that referenced
this pull request
Jun 27, 2026
Actually working solution for #61. Don't even ask what "exact" is doing here, but it's load-bearing for this to work. Stuff like `nix flake metadata nixpkgs/nixos-26.05` uses the channel tarballs, while `nix flake metadata nixpkgs/master` falls back to `github:nixos/nixpkgs/master`.
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.
It comes with IPv6 support, no rate-limiting and is well distributed thanks to Fastly.
I'm frankly not sure if this is correct,
./ci.shworks.