mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
14 lines
284 B
Nix
14 lines
284 B
Nix
|
test: { pkgs, self }:
|
||
|
let
|
||
|
inherit (pkgs) lib;
|
||
|
nixos-lib = import (pkgs.path + "/nixos/lib") { };
|
||
|
in
|
||
|
(nixos-lib.runTest {
|
||
|
hostPkgs = pkgs;
|
||
|
defaults.documentation.enable = lib.mkDefault false;
|
||
|
node.specialArgs = {
|
||
|
inherit self;
|
||
|
};
|
||
|
imports = [ test ];
|
||
|
}).config.result
|