flake-checker icon indicating copy to clipboard operation
flake-checker copied to clipboard

Support `nixpkgs/release-24.11` branch

Open yxtay opened this issue 11 months ago • 0 comments

nix 2.26.0 use nixpkgs/release-24.11 branch. I think this should be a supported branch in flake-checker.

https://github.com/NixOS/nix/blob/2.26.0/flake.nix#L4

Flake checker results:

The flake checker scanned your flake.lock and discovered 1 issue
that we recommend looking into:

>>> Non-supported Git branches for Nixpkgs

> The nixpkgs input uses the release-24.11 branch

>> What to do

Use one of these branches instead:

* nixos-24.05
* nixos-24.05-small
* nixos-24.11
* nixos-24.11-small
* nixos-unstable
* nixos-unstable-small
* nixpkgs-24.05-darwin
* nixpkgs-24.11-darwin
* nixpkgs-unstable

>> Why it's important to use supported branches

NixOS's release branches stop receiving updates roughly 7 months after release
and then gradually become more and more insecure over time. Non-release branches
receive unpredictable updates and should be avoided as dependencies. Release
branches are also certain to have good binary cache coverage, which other
branches can't promise.

yxtay avatar Jan 23 '25 07:01 yxtay