From 4b4987c5c29d0c26ca629208ee4ddd95f6206b89 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 1 Oct 2025 08:38:15 -0700 Subject: [PATCH] nixos/tools: remove deprecated accessors for pkgs.nixos-option and pkgs.nixos-enter These warnings were added in 5dcbab6. It has been a full year since they were added -- time to remove them. --- nixos/modules/installer/tools/tools.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/modules/installer/tools/tools.nix b/nixos/modules/installer/tools/tools.nix index aa3aaed54cea..bf8a27419ae2 100644 --- a/nixos/modules/installer/tools/tools.nix +++ b/nixos/modules/installer/tools/tools.nix @@ -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; }; }; }