forked from DGNum/liminix
some notes on how we couldn't make it smaller
This commit is contained in:
parent
c6b8a8488f
commit
c7aa8c7756
1 changed files with 7 additions and 1 deletions
|
@ -7,7 +7,10 @@ let
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray+=(PLAT="posix" SYSLIBS="-Wl,-E -ldl" CFLAGS="-O2 -fPIC -DLUA_USE_POSIX -DLUA_USE_DLOPEN")
|
makeFlagsArray+=(PLAT="posix" SYSLIBS="-Wl,-E -ldl" CFLAGS="-O2 -fPIC -DLUA_USE_POSIX -DLUA_USE_DLOPEN")
|
||||||
'';
|
'';
|
||||||
|
# lua in nixpkgs has a postInstall stanza that assumes only
|
||||||
|
# one output, we need to override that if we're going to
|
||||||
|
# convert to multi-output
|
||||||
|
# outputs = ["bin" "man" "out"];
|
||||||
makeFlags =
|
makeFlags =
|
||||||
builtins.filter (x: (builtins.match "(PLAT|MYLIBS).*" x) == null)
|
builtins.filter (x: (builtins.match "(PLAT|MYLIBS).*" x) == null)
|
||||||
o.makeFlags;
|
o.makeFlags;
|
||||||
|
@ -41,6 +44,9 @@ extraPkgs // {
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# openssl is reqired by ntp
|
||||||
|
|
||||||
|
|
||||||
rsyncSmall = prev.rsync.overrideAttrs(o: {
|
rsyncSmall = prev.rsync.overrideAttrs(o: {
|
||||||
configureFlags = o.configureFlags ++ [
|
configureFlags = o.configureFlags ++ [
|
||||||
"--disable-openssl"
|
"--disable-openssl"
|
||||||
|
|
Loading…
Reference in a new issue