Skip to content

Pull nixpkgs as tarball from channels.nixos.org#61

Closed
mweinelt wants to merge 1 commit into
NixOS:masterfrom
mweinelt:nixpkgs-fastly
Closed

Pull nixpkgs as tarball from channels.nixos.org#61
mweinelt wants to merge 1 commit into
NixOS:masterfrom
mweinelt:nixpkgs-fastly

Conversation

@mweinelt

@mweinelt mweinelt commented Jun 25, 2026

Copy link
Copy Markdown
Member

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.sh works.

It comes with IPv6 support, no rate-limiting and is well distributed
thanks to Fastly.
@mweinelt

mweinelt commented Jun 25, 2026

Copy link
Copy Markdown
Member Author

Apparently you can pass a branch like nixpkgs/nixos-unstable-small right now.

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.

@xokdvium

Copy link
Copy Markdown
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).

@mweinelt

Copy link
Copy Markdown
Member Author

Superseded by #62

@mweinelt mweinelt closed this Jun 26, 2026
@mweinelt mweinelt deleted the nixpkgs-fastly branch June 26, 2026 21:10
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`.
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.

2 participants