From 63148c502c11fcbe99f335c5d214fba84eda1c1c Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 9 Jul 2023 01:36:52 +0300 Subject: Passthru NixOS VM tests --- kittybox.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'kittybox.nix') diff --git a/kittybox.nix b/kittybox.nix index 2dd6ee6..d7577fd 100644 --- a/kittybox.nix +++ b/kittybox.nix @@ -1,6 +1,6 @@ { stdenv, lib, naersk, lld, mold, typescript -, openssl, zlib, pkg-config, protobuf -, useWebAuthn ? false }: +, useWebAuthn ? false, openssl, zlib, pkg-config, protobuf +, nixosTests }: assert useWebAuthn -> openssl != null && pkg-config != null; @@ -17,6 +17,10 @@ naersk.buildPackage { buildInputs = lib.optional useWebAuthn openssl; nativeBuildInputs = [ typescript ] ++ (lib.optional useWebAuthn pkg-config); + passthru = { + tests = nixosTests; + }; + meta = with lib.meta; { maintainers = with lib.maintainers; [ vikanezrimaya ]; platforms = ["aarch64-linux" "x86_64-linux"]; -- cgit 1.4.1