github.com/NixOS/nixpkgs-channels deprecated?

I was surprised to see the deprecation notice on the repo GitHub - NixOS/nixpkgs-channels: DEPRECATED! Use NixOS/nixpkgs repository instead..

Are the nixos-* branches in the GitHub - NixOS/nixpkgs: Nix Packages collection & NixOS repo a valid replacement and kept in sync with the channels automatically?

2 Likes

Just got a reply on IRC, apparently that’s the replacement.

1 Like

Here’s some relevant issues:
https://github.com/NixOS/nixpkgs/issues/71176
https://github.com/NixOS/nixpkgs/issues/99257

5 Likes

I was also surprised to read this. Could the description on that repo be amended to say what the alternative is?

1 Like

Done GitHub - NixOS/nixpkgs-channels: DEPRECATED! Use NixOS/nixpkgs repository instead.

4 Likes

Note there’s also an option to archive a repository turning it read-only.

5 Likes

Thanks, could you also update the repository description? The sidebar is the first place I looked.

1 Like

It says: DEPRECATED! This is an obsolete, read-only mirror of the NixOS/nixpkgs repository.

I know, I’m asking for it to say what the fix is. I suggest:

DEPRECATED! This is an obsolete, read-only mirror of the NixOS/nixpkgs repository. You should use NixOS/nixpkgs instead.

This is similar to fix you made to the README.

Thanks, I’ve updated the description.

1 Like