chore(nix): drop the nixVersions.latest override

Assisted-by: DeepSeek Harness (claude-opus-5-5)
This commit is contained in:
Ryan Yin committed 2026-11-17 23:39:58 +08:00
1 parent 480c486ea2
commit ac3f775efa
3 files changed
+4 -12

No files matched your search

-7
View File
@@ -1,7 +1,6 @@
{
config,
lib,
pkgs,
nixpkgsConfig,
...
}:
@@ -13,12 +12,6 @@ let
GiB = 1024 * 1024 * 1024;
in
{
# Nix 2.35 is newer than nixpkgs' nixVersions.stable (still 2.34), so opt into
# the latest released version until stable catches up.
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix
nix.package = pkgs.nixVersions.latest;
warnings = lib.optional (lib.versionAtLeast pkgs.nixVersions.stable.version "2.35") "nixVersions.stable is 2.35+: drop the nixVersions.latest override (WA-023)";
# https://lix.systems/add-to-config/
# nix.package = pkgs.lix;