nixos/tests/userborn: inherit pkgs in specialisation

This commit is contained in:
nikstur
2026-01-26 00:05:47 +01:00
parent 26d344c778
commit 8b80ecd252
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@@ -38,7 +38,7 @@ in
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
inherit pkgs;
};
imports = [ common ];
+2 -2
View File
@@ -16,7 +16,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@@ -33,7 +33,7 @@ in
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
inherit pkgs;
};
imports = [ common ];
+2 -2
View File
@@ -20,7 +20,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@@ -37,7 +37,7 @@ in
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
inherit pkgs;
};
imports = [ common ];
+2 -2
View File
@@ -16,7 +16,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@@ -34,7 +34,7 @@ in
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
inherit pkgs;
};
imports = [ common ];