1
Fork 0
mirror of https://github.com/RGBCube/hjem synced 2026-01-14 09:11:00 +00:00
hjem/tests/lib/default.nix
2025-01-21 19:38:17 +03:00

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