nix-config/tests/lib.nix

15 lines
307 B
Nix
Raw Normal View History

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;
nix-config = self;
};
imports = [ test ];
}).config.result