mirror of
https://github.com/RGBCube/hjem
synced 2026-01-14 09:11:00 +00:00
17 lines
361 B
Nix
17 lines
361 B
Nix
# The first argument to this function is the test module itself
|
|
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
|