mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
tests: include tests-specific utils in all test suites
This commit is contained in:
parent
06b565c61d
commit
b7061b0ed7
@ -12,6 +12,6 @@ in
|
|||||||
modules = {
|
modules = {
|
||||||
home-manager = import ./modules/home-manager { inherit pkgs utils; };
|
home-manager = import ./modules/home-manager { inherit pkgs utils; };
|
||||||
nixos = import ./modules/nixos { 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; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# We're basically reimplmenting parts from the home-manager test suite here
|
# We're basically reimplmenting parts from the home-manager test suite here
|
||||||
# just with our own modules included.
|
# just with our own modules included.
|
||||||
{ pkgs ? import <nixpkgs> { }
|
{ pkgs ? import <nixpkgs> { }
|
||||||
|
, utils ? import ../../utils.nix { inherit pkgs; }
|
||||||
, homeManagerSrc ? <home-manager>
|
, homeManagerSrc ? <home-manager>
|
||||||
, enableBig ? true
|
, enableBig ? true
|
||||||
}:
|
}:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { }, utils ? import ../../utils.nix { inherit pkgs; } }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs) lib;
|
inherit (pkgs) lib;
|
||||||
|
Loading…
Reference in New Issue
Block a user