nixos/tools: remove deprecated accessors for nixos-option and nixos-enter (#447768)

This commit is contained in:
Philip Taron
2025-10-01 19:33:25 +00:00
committed by GitHub
-2
View File
@@ -341,8 +341,6 @@ in
system.build = {
inherit nixos-generate-config nixos-install;
nixos-rebuild = if config.system.rebuild.enableNg then nixos-rebuild-ng else nixos-rebuild;
nixos-option = lib.warn "Accessing nixos-option through `config.system.build` is deprecated, use `pkgs.nixos-option` instead." pkgs.nixos-option;
nixos-enter = lib.warn "Accessing nixos-enter through `config.system.build` is deprecated, use `pkgs.nixos-enter` instead." pkgs.nixos-enter;
};
};
}