From 64395b676fdc0b47d42501bd7db2eaf34323b42d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 27 Dec 2023 18:36:19 +0000 Subject: [PATCH] nixosTests.allDrivers.anbox: avoid use of aliases Before the change eval of a test failed with disabled aliases as: $ nix build -f. nixosTests.allDrivers.anbox --arg config '{ allowAliases = false; }' ... error: attribute 'linuxPackages_5_15' missing --- nixos/tests/anbox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/anbox.nix b/nixos/tests/anbox.nix index dfd6c13d9318..a00116536db7 100644 --- a/nixos/tests/anbox.nix +++ b/nixos/tests/anbox.nix @@ -15,7 +15,7 @@ test-support.displayManager.auto.user = "alice"; virtualisation.anbox.enable = true; - boot.kernelPackages = pkgs.linuxPackages_5_15; + boot.kernelPackages = pkgs.linuxKernel.packages.linux_5_15; virtualisation.memorySize = 2500; };