|
|
|
@ -3,11 +3,10 @@ |
|
|
|
|
# TODO: use jdk https://github.com/NixOS/nixpkgs/pull/89731 |
|
|
|
|
, openjdk8 ? null # javacSupport |
|
|
|
|
, unixODBC ? null # odbcSupport |
|
|
|
|
, libGL ? null, libGLU ? null, wxGTK ? null, wxmac ? null, xorg ? null, wxSupport ? true |
|
|
|
|
, libGL ? null, libGLU ? null, wxGTK ? null, wxmac ? null, xorg ? null |
|
|
|
|
, parallelBuild ? false |
|
|
|
|
, systemd |
|
|
|
|
, systemd, wxSupport ? true |
|
|
|
|
}: |
|
|
|
|
let defaultWxSupport = wxSupport; in |
|
|
|
|
{ baseName ? "erlang" |
|
|
|
|
, version |
|
|
|
|
, sha256 ? null |
|
|
|
@ -21,7 +20,7 @@ let defaultWxSupport = wxSupport; in |
|
|
|
|
, javacSupport ? false, javacPackages ? [ openjdk8 ] |
|
|
|
|
, odbcSupport ? false, odbcPackages ? [ unixODBC ] |
|
|
|
|
, withSystemd ? stdenv.isLinux # systemd support in epmd |
|
|
|
|
, wxSupport ? defaultWxSupport, wxPackages ? [ libGL libGLU wxGTK xorg.libX11 ] |
|
|
|
|
, wxPackages ? [ libGL libGLU wxGTK xorg.libX11 ] |
|
|
|
|
, preUnpack ? "", postUnpack ? "" |
|
|
|
|
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? "" |
|
|
|
|
, configureFlags ? [], configurePhase ? "", preConfigure ? "", postConfigure ? "" |
|
|
|
|