From b7061b0ed75dd7dee0f140f2dad4d834577b229a Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 29 Aug 2024 13:23:46 +0800 Subject: [PATCH] tests: include tests-specific utils in all test suites --- tests/default.nix | 2 +- tests/modules/home-manager/default.nix | 1 + tests/modules/wrapper-manager/default.nix | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/default.nix b/tests/default.nix index 543bd7fe..bd738ac4 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -12,6 +12,6 @@ in modules = { home-manager = import ./modules/home-manager { inherit pkgs utils; }; nixos = import ./modules/nixos { inherit pkgs utils; }; - wrapper-manager = import ./modules/wrapper-manager { inherit pkgs; }; + wrapper-manager = import ./modules/wrapper-manager { inherit pkgs utils; }; }; } diff --git a/tests/modules/home-manager/default.nix b/tests/modules/home-manager/default.nix index cde21315..5d1e64ab 100644 --- a/tests/modules/home-manager/default.nix +++ b/tests/modules/home-manager/default.nix @@ -1,6 +1,7 @@ # We're basically reimplmenting parts from the home-manager test suite here # just with our own modules included. { pkgs ? import { } +, utils ? import ../../utils.nix { inherit pkgs; } , homeManagerSrc ? , enableBig ? true }: diff --git a/tests/modules/wrapper-manager/default.nix b/tests/modules/wrapper-manager/default.nix index 1ea67a0f..5420ac90 100644 --- a/tests/modules/wrapper-manager/default.nix +++ b/tests/modules/wrapper-manager/default.nix @@ -1,4 +1,4 @@ -{ pkgs ? import { } }: +{ pkgs ? import { }, utils ? import ../../utils.nix { inherit pkgs; } }: let inherit (pkgs) lib;