diff options
author | Emery Hemingway <ehmry@posteo.net> | 2020-08-13 15:31:17 +0200 |
---|---|---|
committer | ehmry <ehmry@posteo.net> | 2020-09-29 08:07:53 +0200 |
commit | e7d0500cb3c62c2c20d5f02a9bae712ed577f5e4 (patch) | |
tree | c6a414d71981ce7406c7d27cb85fc3ea80826467 /pkgs/applications/networking/sync | |
parent | b3f8642587eee9027321ff8c6edc4a4444e51173 (diff) |
nixos/rsyncd: convert module to an INI generator
Diffstat (limited to 'pkgs/applications/networking/sync')
-rw-r--r-- | pkgs/applications/networking/sync/rsync/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/networking/sync/rsync/default.nix b/pkgs/applications/networking/sync/rsync/default.nix index 4045c1f0fc51b..41a2d1e0db30f 100644 --- a/pkgs/applications/networking/sync/rsync/default.nix +++ b/pkgs/applications/networking/sync/rsync/default.nix @@ -1,7 +1,6 @@ { stdenv, fetchurl, perl, libiconv, zlib, popt -, enableACLs ? !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD), acl ? null -, enableCopyDevicesPatch ? false -}: +, enableACLs ? !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD) +, acl ? null, enableCopyDevicesPatch ? false, nixosTests }: assert enableACLs -> acl != null; @@ -23,6 +22,8 @@ stdenv.mkDerivation rec { configureFlags = ["--with-nobody-group=nogroup"]; + passthru.tests = { inherit (nixosTests) rsyncd; }; + meta = base.meta // { description = "A fast incremental file transfer utility"; maintainers = with stdenv.lib.maintainers; [ peti ehmry kampfschlaefer ]; |