nixos/stratis: passthru tests to stratis-cli and stratisd
This commit is contained in:
parent
4abf0ee793
commit
7398c337c9
2 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue