nixos/tests/userborn: fix setting hostPlatform
This commit is contained in:
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user