diff --git a/examples/arhcive.nix b/examples/arhcive.nix index 3b08fae..375b676 100644 --- a/examples/arhcive.nix +++ b/examples/arhcive.nix @@ -193,7 +193,7 @@ in rec { in longrun { name = "rsync"; run = '' - ${pkgs.rsync}/bin/rsync --no-detach --daemon --config=${configFile} + ${pkgs.rsyncSmall}/bin/rsync --no-detach --daemon --config=${configFile} ''; dependencies = [ secrets_file diff --git a/overlay.nix b/overlay.nix index 39fc67c..d52d35d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -20,6 +20,12 @@ extraPkgs // { ]; }); + rsyncSmall = prev.rsync.overrideAttrs(o: { + configureFlags = o.configureFlags ++ [ + "--disable-openssl" + ]; + }); + strace = prev.strace.override { libunwind = null; }; kexec-tools-static = prev.kexec-tools.overrideAttrs(o: {