shrink rsync

remove openssl requirement, it  uses it for "optimised assembly
versions" of md5 - but only on x86/arm/sparc not mips anyway
This commit is contained in:
Daniel Barlow 2023-04-10 20:04:23 +01:00
parent 42725f56f9
commit fe99abc450
2 changed files with 7 additions and 1 deletions

View file

@ -193,7 +193,7 @@ in rec {
in longrun { in longrun {
name = "rsync"; name = "rsync";
run = '' run = ''
${pkgs.rsync}/bin/rsync --no-detach --daemon --config=${configFile} ${pkgs.rsyncSmall}/bin/rsync --no-detach --daemon --config=${configFile}
''; '';
dependencies = [ dependencies = [
secrets_file secrets_file

View file

@ -20,6 +20,12 @@ extraPkgs // {
]; ];
}); });
rsyncSmall = prev.rsync.overrideAttrs(o: {
configureFlags = o.configureFlags ++ [
"--disable-openssl"
];
});
strace = prev.strace.override { libunwind = null; }; strace = prev.strace.override { libunwind = null; };
kexec-tools-static = prev.kexec-tools.overrideAttrs(o: { kexec-tools-static = prev.kexec-tools.overrideAttrs(o: {