diff --git a/nixos/tests/userborn-immutable-etc.nix b/nixos/tests/userborn-immutable-etc.nix index b4b1b56fc2fd..dc34537b9b51 100644 --- a/nixos/tests/userborn-immutable-etc.nix +++ b/nixos/tests/userborn-immutable-etc.nix @@ -21,7 +21,7 @@ in meta.maintainers = with lib.maintainers; [ nikstur ]; nodes.machine = - { config, ... }: + { pkgs, ... }: { imports = [ common ]; @@ -38,7 +38,7 @@ in inheritParentConfig = false; configuration = { nixpkgs = { - inherit (config.nixpkgs) hostPlatform; + inherit pkgs; }; imports = [ common ]; diff --git a/nixos/tests/userborn-immutable-users.nix b/nixos/tests/userborn-immutable-users.nix index 887d2d312eb7..46ea6d4a4be2 100644 --- a/nixos/tests/userborn-immutable-users.nix +++ b/nixos/tests/userborn-immutable-users.nix @@ -16,7 +16,7 @@ in meta.maintainers = with lib.maintainers; [ nikstur ]; nodes.machine = - { config, ... }: + { pkgs, ... }: { imports = [ common ]; @@ -33,7 +33,7 @@ in inheritParentConfig = false; configuration = { nixpkgs = { - inherit (config.nixpkgs) hostPlatform; + inherit pkgs; }; imports = [ common ]; diff --git a/nixos/tests/userborn-mutable-etc.nix b/nixos/tests/userborn-mutable-etc.nix index 6199b84ce71d..020c29a048b9 100644 --- a/nixos/tests/userborn-mutable-etc.nix +++ b/nixos/tests/userborn-mutable-etc.nix @@ -20,7 +20,7 @@ in meta.maintainers = with lib.maintainers; [ nikstur ]; nodes.machine = - { config, ... }: + { pkgs, ... }: { imports = [ common ]; @@ -37,7 +37,7 @@ in inheritParentConfig = false; configuration = { nixpkgs = { - inherit (config.nixpkgs) hostPlatform; + inherit pkgs; }; imports = [ common ]; diff --git a/nixos/tests/userborn-mutable-users.nix b/nixos/tests/userborn-mutable-users.nix index e2b9c3df4953..92b952d397d3 100644 --- a/nixos/tests/userborn-mutable-users.nix +++ b/nixos/tests/userborn-mutable-users.nix @@ -16,7 +16,7 @@ in meta.maintainers = with lib.maintainers; [ nikstur ]; nodes.machine = - { config, ... }: + { pkgs, ... }: { imports = [ common ]; @@ -34,7 +34,7 @@ in inheritParentConfig = false; configuration = { nixpkgs = { - inherit (config.nixpkgs) hostPlatform; + inherit pkgs; }; imports = [ common ];