nixos/stratis: passthru tests to stratis-cli and stratisd

This commit is contained in:
Nick Cao 2022-09-12 15:20:59 +08:00
parent 4abf0ee793
commit 7398c337c9
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{ lib
, python3Packages
, fetchFromGitHub
, nixosTests
}:
python3Packages.buildPythonApplication rec {
@ -24,6 +25,8 @@ python3Packages.buildPythonApplication rec {
packaging
];
passthru.tests = nixosTests.stratis;
meta = with lib; {
description = "CLI for the Stratis project";
homepage = "https://stratis-storage.github.io";

View File

@ -18,6 +18,7 @@
, tpm2-tools
, coreutils
, clevisSupport ? false
, nixosTests
}:
stdenv.mkDerivation rec {
@ -95,6 +96,8 @@ stdenv.mkDerivation rec {
rm -r "$out/lib/systemd/system-generators"
'';
passthru.tests = nixosTests.stratis;
meta = with lib; {
description = "Easy to use local storage management for Linux";
homepage = "https://stratis-storage.github.io";