From 93609b6af5e30470c9df3c9345b999d27f46bb4b Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sun, 20 Feb 2022 12:56:45 +0100 Subject: [PATCH] swtpm: add nixosTests.systemd-cryptenroll to passthru.tests --- pkgs/tools/security/swtpm/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/security/swtpm/default.nix b/pkgs/tools/security/swtpm/default.nix index adfc27171b6c..648165d8262e 100644 --- a/pkgs/tools/security/swtpm/default.nix +++ b/pkgs/tools/security/swtpm/default.nix @@ -11,6 +11,7 @@ # Tests , python3, which +, nixosTests }: stdenv.mkDerivation rec { @@ -65,6 +66,8 @@ stdenv.mkDerivation rec { outputs = [ "out" "man" ]; + passthru.tests = { inherit (nixosTests) systemd-cryptenroll; }; + meta = with lib; { description = "Libtpms-based TPM emulator"; homepage = "https://github.com/stefanberger/swtpm";