erlang: Build with systemd support
That way 'epmd' can be started by systemd using socket activation. This is important to have when there is more than one Erlang system used on the same host. Support for this exists since 17.0:b7c95eabf6
Configure flag was added in 17.1:12cd5e5b39
This commit is contained in:
parent
0467e8d1f6
commit
16cccc2513
|
@ -3,6 +3,7 @@
|
||||||
, openjdk ? null # javacSupport
|
, openjdk ? null # javacSupport
|
||||||
, unixODBC ? null # odbcSupport
|
, unixODBC ? null # odbcSupport
|
||||||
, libGLU_combined ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
|
, libGLU_combined ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
|
||||||
|
, withSystemd ? stdenv.isLinux, systemd # systemd support in epmd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{ baseName ? "erlang"
|
{ baseName ? "erlang"
|
||||||
|
@ -53,6 +54,7 @@ in stdenv.mkDerivation ({
|
||||||
++ optionals wxSupport wxPackages2
|
++ optionals wxSupport wxPackages2
|
||||||
++ optionals odbcSupport odbcPackages
|
++ optionals odbcSupport odbcPackages
|
||||||
++ optionals javacSupport javacPackages
|
++ optionals javacSupport javacPackages
|
||||||
|
++ optional withSystemd systemd
|
||||||
++ optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ Carbon Cocoa ]);
|
++ optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ Carbon Cocoa ]);
|
||||||
|
|
||||||
debugInfo = enableDebugInfo;
|
debugInfo = enableDebugInfo;
|
||||||
|
@ -82,6 +84,7 @@ in stdenv.mkDerivation ({
|
||||||
++ optional javacSupport "--with-javac"
|
++ optional javacSupport "--with-javac"
|
||||||
++ optional odbcSupport "--with-odbc=${unixODBC}"
|
++ optional odbcSupport "--with-odbc=${unixODBC}"
|
||||||
++ optional wxSupport "--enable-wx"
|
++ optional wxSupport "--enable-wx"
|
||||||
|
++ optional withSystemd "--enable-systemd"
|
||||||
++ optional stdenv.isDarwin "--enable-darwin-64bit";
|
++ optional stdenv.isDarwin "--enable-darwin-64bit";
|
||||||
|
|
||||||
# install-docs will generate and install manpages and html docs
|
# install-docs will generate and install manpages and html docs
|
||||||
|
|
Loading…
Reference in a new issue