forked from DGNum/liminix
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:
parent
42725f56f9
commit
fe99abc450
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue