2024-08-03 20:42:39 +02:00
|
|
|
test:
|
|
|
|
|
|
|
|
{ self, pkgs }:
|
|
|
|
|
2024-04-02 11:15:15 +02:00
|
|
|
let
|
2024-04-05 17:50:28 +02:00
|
|
|
inherit (pkgs.lib) mkDefault;
|
2024-04-06 01:01:41 +02:00
|
|
|
|
2024-04-02 11:15:15 +02:00
|
|
|
nixos-lib = import (pkgs.path + "/nixos/lib") { };
|
|
|
|
in
|
|
|
|
(nixos-lib.runTest {
|
2024-04-05 17:50:28 +02:00
|
|
|
imports = [ test ];
|
|
|
|
|
2024-04-02 11:15:15 +02:00
|
|
|
hostPkgs = pkgs;
|
2024-04-05 17:50:28 +02:00
|
|
|
defaults.documentation.enable = mkDefault false;
|
|
|
|
|
2024-04-02 11:15:15 +02:00
|
|
|
node.specialArgs = {
|
2024-04-05 16:09:51 +02:00
|
|
|
nix-config = self;
|
2024-04-02 11:15:15 +02:00
|
|
|
};
|
|
|
|
}).config.result
|