pv: set nixosTests.sanoid as part of passthru.tests

The recent bump from 1.10.5 to 1.11.0 broke syncoid (and its tests) so
this will avoid future breakage in the absence of pv-specific tests
This commit is contained in:
Ivan Petkov
2026-06-27 17:59:21 -07:00
parent 22fff7274f
commit 0874f3bc45
+4
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
nixosTests,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -13,6 +14,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-/ALJ/CuCsgqSzI2Y+ES+Y/IqvZh1Go5KvIdeHYA2Yus=";
};
# pv is used by syncoid (part of the sanoid package) by default
passthru.tests = nixosTests.sanoid;
meta = {
homepage = "https://www.ivarch.com/programs/pv.shtml";
description = "Tool for monitoring the progress of data through a pipeline";