diff options
author | Luflosi <luflosi@luflosi.de> | 2022-02-20 12:56:45 +0100 |
---|---|---|
committer | Luflosi <luflosi@luflosi.de> | 2022-02-20 13:06:54 +0100 |
commit | 93609b6af5e30470c9df3c9345b999d27f46bb4b (patch) | |
tree | ab7686665b50b05ba7d21069b5061f26a1ca8ae4 | |
parent | 4593c25b4ab6eb9f19e4bb856d56529dc99a0ab0 (diff) | |
download | nixpkgs-93609b6af5e30470c9df3c9345b999d27f46bb4b.tar nixpkgs-93609b6af5e30470c9df3c9345b999d27f46bb4b.tar.gz nixpkgs-93609b6af5e30470c9df3c9345b999d27f46bb4b.tar.bz2 nixpkgs-93609b6af5e30470c9df3c9345b999d27f46bb4b.tar.lz nixpkgs-93609b6af5e30470c9df3c9345b999d27f46bb4b.tar.xz nixpkgs-93609b6af5e30470c9df3c9345b999d27f46bb4b.tar.zst nixpkgs-93609b6af5e30470c9df3c9345b999d27f46bb4b.zip |
swtpm: add nixosTests.systemd-cryptenroll to passthru.tests
-rw-r--r-- | pkgs/tools/security/swtpm/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/security/swtpm/default.nix b/pkgs/tools/security/swtpm/default.nix index adfc27171b6..648165d8262 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"; |