diff --git a/pkgs/tools/filesystems/stratis-cli/default.nix b/pkgs/tools/filesystems/stratis-cli/default.nix index b0e279d0228c..813ecfa22c6d 100644 --- a/pkgs/tools/filesystems/stratis-cli/default.nix +++ b/pkgs/tools/filesystems/stratis-cli/default.nix @@ -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"; diff --git a/pkgs/tools/filesystems/stratisd/default.nix b/pkgs/tools/filesystems/stratisd/default.nix index 1302c10ea8c1..b37c46c4e2d8 100644 --- a/pkgs/tools/filesystems/stratisd/default.nix +++ b/pkgs/tools/filesystems/stratisd/default.nix @@ -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";