git.iko.soy/typeable/nixpkgs
on master help sign in
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: https://github.com/erlang/otp/commit/b7c95eabf6017ddb352fb8ce2b3749af108ebf29 Configure flag was added in 17.1: https://github.com/erlang/otp/commit/12cd5e5b394623fab9907622ad99163c5b9350e1

commit16cccc251372c63f6dfdd5dd5a0f9046d9fecd8e authorAlexey Lebedeff <alexey.lebedeff@booking.com> dateThu 25 Jan 2018, 20:17 (9 years ago) parent0467e8d
1 file changed+3
pkgs/development/interpreters/erlang/generic-builder.nix+3
pkgs/development/interpreters/erlang/generic-builder.nix+3
@@ -3,6 +3,7 @@
33, openjdk ? null # javacSupport
44, unixODBC ? null # odbcSupport
55, libGLU_combined ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
6+, withSystemd ? stdenv.isLinux, systemd # systemd support in epmd
67}:
78
89{ baseName ? "erlang"
@@ -53,6 +54,7 @@ in stdenv.mkDerivation ({
5354 ++ optionals wxSupport wxPackages2
5455 ++ optionals odbcSupport odbcPackages
5556 ++ optionals javacSupport javacPackages
57+ ++ optional withSystemd systemd
5658 ++ optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ Carbon Cocoa ]);
5759
5860 debugInfo = enableDebugInfo;
@@ -82,6 +84,7 @@ in stdenv.mkDerivation ({
8284 ++ optional javacSupport "--with-javac"
8385 ++ optional odbcSupport "--with-odbc=${unixODBC}"
8486 ++ optional wxSupport "--enable-wx"
87+ ++ optional withSystemd "--enable-systemd"
8588 ++ optional stdenv.isDarwin "--enable-darwin-64bit";
8689
8790 # install-docs will generate and install manpages and html docs