2023-08-23 09:58:12 +00:00
|
|
|
test:
|
|
|
|
{ pkgs
|
|
|
|
, self
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (pkgs) lib;
|
|
|
|
nixos-lib = import (pkgs.path + "/nixos/lib") { };
|
|
|
|
in
|
|
|
|
(nixos-lib.runTest {
|
|
|
|
hostPkgs = pkgs;
|
|
|
|
# speed-up evaluation
|
2024-01-19 13:48:24 +00:00
|
|
|
defaults = {
|
|
|
|
documentation.enable = lib.mkDefault false;
|
|
|
|
nix.settings.min-free = 0;
|
|
|
|
};
|
|
|
|
|
2023-08-23 09:58:12 +00:00
|
|
|
# to accept external dependencies such as disko
|
|
|
|
node.specialArgs.self = self;
|
|
|
|
imports = [ test ];
|
|
|
|
}).config.result
|