1
Fork 0
mirror of https://github.com/RGBCube/hjem synced 2025-10-13 13:12:16 +00:00

tests: modernize entrypoint

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964598eb7cedb0e101cf39cd30c2e5b5f4f
This commit is contained in:
NotAShelf 2025-08-09 12:36:44 +03:00
parent ee5c671eeb
commit d373218d4e
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF

View file

@ -3,16 +3,10 @@ test: {
pkgs,
self,
inputs,
}: let
inherit (pkgs) lib;
nixos-lib = import (pkgs.path + "/nixos/lib") {};
in
(nixos-lib.runTest {
hostPkgs = pkgs;
defaults.documentation.enable = lib.mkDefault false;
}:
(pkgs.testers.runNixOSTest {
node.specialArgs = {inherit self inputs;};
defaults.documentation.enable = pkgs.lib.mkDefault false;
node.specialArgs = {inherit self inputs;};
imports = [test];
})
.config
.result
imports = [test];
}).config.result