tests: include tests-specific utils in all test suites

This commit is contained in:
Gabriel Arazas 2024-08-29 13:23:46 +08:00
parent 06b565c61d
commit b7061b0ed7
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
3 changed files with 3 additions and 2 deletions

View File

@ -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; };
};
}

View File

@ -1,6 +1,7 @@
# We're basically reimplmenting parts from the home-manager test suite here
# just with our own modules included.
{ pkgs ? import <nixpkgs> { }
, utils ? import ../../utils.nix { inherit pkgs; }
, homeManagerSrc ? <home-manager>
, enableBig ? true
}:

View File

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> { } }:
{ pkgs ? import <nixpkgs> { }, utils ? import ../../utils.nix { inherit pkgs; } }:
let
inherit (pkgs) lib;