shrink rsync

remove openssl requirement, it  uses it for "optimised assembly
versions" of md5 - but only on x86/arm/sparc not mips anyway
module-based-network
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 {
name = "rsync";
run = ''
${pkgs.rsync}/bin/rsync --no-detach --daemon --config=${configFile}
${pkgs.rsyncSmall}/bin/rsync --no-detach --daemon --config=${configFile}
'';
dependencies = [
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; };
kexec-tools-static = prev.kexec-tools.overrideAttrs(o: {