nixos/syncoid: allow @timer syscalls (#536167)
This commit is contained in:
@@ -459,7 +459,8 @@ in
|
||||
"~@privileged"
|
||||
"~@resources"
|
||||
"~@setuid"
|
||||
"~@timer"
|
||||
# NB: pv after 1.11.0 uses timer syscalls (specifically setitimer)
|
||||
# "~@timer"
|
||||
];
|
||||
SystemCallArchitectures = "native";
|
||||
# This is for BindPaths= and BindReadOnlyPaths=
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user