Revert "nixos/tests/userborn: fix setting hostPlatform"

This commit is contained in:
nikstur 2025-02-06 11:33:34 +01:00 committed by GitHub
parent 082fd30a6b
commit 6c94b746ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 12 deletions

View file

@ -20,7 +20,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ pkgs, ... }:
{ config, ... }:
{
imports = [ common ];
@ -36,8 +36,8 @@ in
specialisation.new-generation = {
inheritParentConfig = false;
configuration = {
nixpkgs.hostPlatform = {
inherit (pkgs.stdenv.hostPlatform) system;
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
};
imports = [ common ];

View file

@ -16,7 +16,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ pkgs, ... }:
{ config, ... }:
{
imports = [ common ];
@ -32,8 +32,8 @@ in
specialisation.new-generation = {
inheritParentConfig = false;
configuration = {
nixpkgs.hostPlatform = {
inherit (pkgs.stdenv.hostPlatform) system;
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
};
imports = [ common ];

View file

@ -20,7 +20,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ pkgs, ... }:
{ config, ... }:
{
imports = [ common ];
@ -36,8 +36,8 @@ in
specialisation.new-generation = {
inheritParentConfig = false;
configuration = {
nixpkgs.hostPlatform = {
inherit (pkgs.stdenv.hostPlatform) system;
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
};
imports = [ common ];

View file

@ -16,7 +16,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ pkgs, ... }:
{ config, ... }:
{
imports = [ common ];
@ -33,8 +33,8 @@ in
specialisation.new-generation = {
inheritParentConfig = false;
configuration = {
nixpkgs.hostPlatform = {
inherit (pkgs.stdenv.hostPlatform) system;
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
};
imports = [ common ];