0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/tests/userborn: fix setting hostPlatform

This commit is contained in:
nikstur 2025-02-02 22:31:25 +01:00
parent 6319929dc6
commit 713e0478a6
4 changed files with 12 additions and 12 deletions

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 ];

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 ];

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 ];

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 ];