From fc36413e41db480fdbe9486ed79ce155c457518c Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Mon, 1 Dec 2025 18:54:56 +0000 Subject: [PATCH] nixos/tests: remove ng variant of nixos-rebuild tests --- nixos/tests/all-tests.nix | 15 +-------------- pkgs/by-name/ni/nixos-rebuild-ng/package.nix | 6 +++--- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index e54cceea4f2d..1b47eef9ef3b 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1081,25 +1081,12 @@ in nixos-generate-config = runTest ./nixos-generate-config.nix; nixos-rebuild-install-bootloader = handleTestOn [ "x86_64-linux" - ] ./nixos-rebuild-install-bootloader.nix { withNg = false; }; - nixos-rebuild-install-bootloader-ng = handleTestOn [ - "x86_64-linux" - ] ./nixos-rebuild-install-bootloader.nix { withNg = true; }; + ] ./nixos-rebuild-install-bootloader.nix { }; nixos-rebuild-specialisations = runTestOn [ "x86_64-linux" ] { imports = [ ./nixos-rebuild-specialisations.nix ]; - _module.args.withNg = false; - }; - nixos-rebuild-specialisations-ng = runTestOn [ "x86_64-linux" ] { - imports = [ ./nixos-rebuild-specialisations.nix ]; - _module.args.withNg = true; }; nixos-rebuild-target-host = runTest { imports = [ ./nixos-rebuild-target-host.nix ]; - _module.args.withNg = false; - }; - nixos-rebuild-target-host-ng = runTest { - imports = [ ./nixos-rebuild-target-host.nix ]; - _module.args.withNg = true; }; nixpkgs = pkgs.callPackage ../modules/misc/nixpkgs/test.nix { inherit evalMinimalConfig; }; nixseparatedebuginfod2 = runTest ./nixseparatedebuginfod2.nix; diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/package.nix b/pkgs/by-name/ni/nixos-rebuild-ng/package.nix index 466b349acb31..b62492b58b66 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/package.nix +++ b/pkgs/by-name/ni/nixos-rebuild-ng/package.nix @@ -96,9 +96,9 @@ python3Packages.buildPythonApplication rec { tests = { inherit (nixosTests) # FIXME: this test is disabled since it times out in @ofborg - # nixos-rebuild-install-bootloader-ng - nixos-rebuild-specialisations-ng - nixos-rebuild-target-host-ng + # nixos-rebuild-install-bootloader + nixos-rebuild-specialisations + nixos-rebuild-target-host ; repl = callPackage ./tests/repl.nix { }; # NOTE: this is a passthru test rather than a build-time test because we