swtpm: add nixosTests.systemd-cryptenroll to passthru.tests

This commit is contained in:
Luflosi 2022-02-20 12:56:45 +01:00
parent 4593c25b4a
commit 93609b6af5
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0

View File

@ -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";