nixos/tests/userborn: fix setting hostPlatform (#378940)

This commit is contained in:
Wolfgang Walther
2025-02-03 08:41:13 +01:00
committed by GitHub
4 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@@ -36,8 +36,8 @@ in
specialisation.new-generation = {
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
nixpkgs.hostPlatform = {
inherit (pkgs.stdenv.hostPlatform) system;
};
imports = [ common ];
+3 -3
View File
@@ -16,7 +16,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@@ -32,8 +32,8 @@ in
specialisation.new-generation = {
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
nixpkgs.hostPlatform = {
inherit (pkgs.stdenv.hostPlatform) system;
};
imports = [ common ];
+3 -3
View File
@@ -20,7 +20,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@@ -36,8 +36,8 @@ in
specialisation.new-generation = {
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
nixpkgs.hostPlatform = {
inherit (pkgs.stdenv.hostPlatform) system;
};
imports = [ common ];
+3 -3
View File
@@ -16,7 +16,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@@ -33,8 +33,8 @@ in
specialisation.new-generation = {
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
nixpkgs.hostPlatform = {
inherit (pkgs.stdenv.hostPlatform) system;
};
imports = [ common ];