couchdb3: switch to beamMinimalPackages.erlang
This heavily reduces the closure size, because the regular BEAM package includes many graphical libraries that are not needed for couchdb. This reduces the closure size by over 1Gib in total, to about 350Mib instead of 1.4Gib, which is a great improvement in non-graphical server environments where couchdb is likely to be running.
This commit is contained in:
@@ -9990,7 +9990,9 @@ with pkgs;
|
||||
|
||||
clickhouse-cli = with python3Packages; toPythonApplication clickhouse-cli;
|
||||
|
||||
couchdb3 = callPackage ../servers/http/couchdb/3.nix { };
|
||||
couchdb3 = callPackage ../servers/http/couchdb/3.nix {
|
||||
erlang = beamMinimalPackages.erlang;
|
||||
};
|
||||
|
||||
dcnnt = python3Packages.callPackage ../servers/dcnnt { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user