nixos/tests/userborn: fix setting hostPlatform
This commit is contained in:
@@ -20,7 +20,7 @@ in
|
|||||||
meta.maintainers = with lib.maintainers; [ nikstur ];
|
meta.maintainers = with lib.maintainers; [ nikstur ];
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ config, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ common ];
|
imports = [ common ];
|
||||||
|
|
||||||
@@ -36,8 +36,8 @@ in
|
|||||||
specialisation.new-generation = {
|
specialisation.new-generation = {
|
||||||
inheritParentConfig = false;
|
inheritParentConfig = false;
|
||||||
configuration = {
|
configuration = {
|
||||||
nixpkgs = {
|
nixpkgs.hostPlatform = {
|
||||||
inherit (config.nixpkgs) hostPlatform;
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
};
|
};
|
||||||
imports = [ common ];
|
imports = [ common ];
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ in
|
|||||||
meta.maintainers = with lib.maintainers; [ nikstur ];
|
meta.maintainers = with lib.maintainers; [ nikstur ];
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ config, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ common ];
|
imports = [ common ];
|
||||||
|
|
||||||
@@ -32,8 +32,8 @@ in
|
|||||||
specialisation.new-generation = {
|
specialisation.new-generation = {
|
||||||
inheritParentConfig = false;
|
inheritParentConfig = false;
|
||||||
configuration = {
|
configuration = {
|
||||||
nixpkgs = {
|
nixpkgs.hostPlatform = {
|
||||||
inherit (config.nixpkgs) hostPlatform;
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
};
|
};
|
||||||
imports = [ common ];
|
imports = [ common ];
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ in
|
|||||||
meta.maintainers = with lib.maintainers; [ nikstur ];
|
meta.maintainers = with lib.maintainers; [ nikstur ];
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ config, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ common ];
|
imports = [ common ];
|
||||||
|
|
||||||
@@ -36,8 +36,8 @@ in
|
|||||||
specialisation.new-generation = {
|
specialisation.new-generation = {
|
||||||
inheritParentConfig = false;
|
inheritParentConfig = false;
|
||||||
configuration = {
|
configuration = {
|
||||||
nixpkgs = {
|
nixpkgs.hostPlatform = {
|
||||||
inherit (config.nixpkgs) hostPlatform;
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
};
|
};
|
||||||
imports = [ common ];
|
imports = [ common ];
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ in
|
|||||||
meta.maintainers = with lib.maintainers; [ nikstur ];
|
meta.maintainers = with lib.maintainers; [ nikstur ];
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ config, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ common ];
|
imports = [ common ];
|
||||||
|
|
||||||
@@ -33,8 +33,8 @@ in
|
|||||||
specialisation.new-generation = {
|
specialisation.new-generation = {
|
||||||
inheritParentConfig = false;
|
inheritParentConfig = false;
|
||||||
configuration = {
|
configuration = {
|
||||||
nixpkgs = {
|
nixpkgs.hostPlatform = {
|
||||||
inherit (config.nixpkgs) hostPlatform;
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
};
|
};
|
||||||
imports = [ common ];
|
imports = [ common ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user