Loading pkgs/development/interpreters/erlang/27-rc2.nix 0 → 100644 +6 −0 Original line number Diff line number Diff line { mkDerivation }: mkDerivation { version = "27.0-rc2"; sha256 = "sha256-o+uqQMlrh7wJQbiecMnn3/tv6nqSJh7unOj0A95mMb0="; } pkgs/development/interpreters/erlang/generic-builder.nix +16 −0 Original line number Diff line number Diff line Loading @@ -18,9 +18,11 @@ , libGLU ? null , wxGTK ? null , xorg ? null , exdoc ? null , parallelBuild ? false , systemd , wxSupport ? true , exdocSupport ? false , systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd # systemd support in epmd # updateScript deps , writeScript Loading Loading @@ -77,6 +79,7 @@ else libGL != null && libGLU != null && wxGTK != null && xorg != null); assert odbcSupport -> unixODBC != null; assert javacSupport -> openjdk11 != null; assert exdocSupport -> exdoc != null; let inherit (lib) optional optionals optionalAttrs optionalString; Loading Loading @@ -114,8 +117,21 @@ stdenv.mkDerivation ({ ${postPatch} ''; # For OTP 27+ we need ex_doc to build the documentation # When exdocSupport is enabled, grab the raw ex_doc executable from the exdoc # derivation. Next, patch the first line to use the escript that will be # built during the build phase of this derivation. Finally, building the # documentation requires the erlang-logo.png asset. preConfigure = '' ./otp_build autoconf '' + optionalString exdocSupport '' mkdir -p $out/bin cp ${exdoc}/bin/.ex_doc-wrapped $out/bin/ex_doc sed -i "1 s:^.*$:#!$out/bin/escript:" $out/bin/ex_doc export EX_DOC=$out/bin/ex_doc mkdir -p $out/lib/erlang/system/doc/assets cp $src/system/doc/assets/erlang-logo.png $out/lib/erlang/system/doc/assets ''; configureFlags = [ "--with-ssl=${lib.getOutput "out" opensslPackage}" ] Loading pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -17364,7 +17364,7 @@ with pkgs; }; inherit (beam.interpreters) erlang erlang_26 erlang_25 erlang_24 erlang erlang_27-rc2 erlang_26 erlang_25 erlang_24 erlang_odbc erlang_javac erlang_odbc_javac elixir elixir_1_16 elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls; pkgs/top-level/beam-packages.nix +9 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,15 @@ in # Standard Erlang versions, using the generic builder. erlang_27-rc2 = self.beamLib.callErlang ../development/interpreters/erlang/27-rc2.nix { wxGTK = wxGTK32; parallelBuild = true; autoconf = buildPackages.autoconf269; exdocSupport = true; exdoc = self.packages.erlang_26.ex_doc; inherit wxSupport systemdSupport; }; erlang_26 = self.beamLib.callErlang ../development/interpreters/erlang/26.nix { wxGTK = wxGTK32; parallelBuild = true; Loading Loading
pkgs/development/interpreters/erlang/27-rc2.nix 0 → 100644 +6 −0 Original line number Diff line number Diff line { mkDerivation }: mkDerivation { version = "27.0-rc2"; sha256 = "sha256-o+uqQMlrh7wJQbiecMnn3/tv6nqSJh7unOj0A95mMb0="; }
pkgs/development/interpreters/erlang/generic-builder.nix +16 −0 Original line number Diff line number Diff line Loading @@ -18,9 +18,11 @@ , libGLU ? null , wxGTK ? null , xorg ? null , exdoc ? null , parallelBuild ? false , systemd , wxSupport ? true , exdocSupport ? false , systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd # systemd support in epmd # updateScript deps , writeScript Loading Loading @@ -77,6 +79,7 @@ else libGL != null && libGLU != null && wxGTK != null && xorg != null); assert odbcSupport -> unixODBC != null; assert javacSupport -> openjdk11 != null; assert exdocSupport -> exdoc != null; let inherit (lib) optional optionals optionalAttrs optionalString; Loading Loading @@ -114,8 +117,21 @@ stdenv.mkDerivation ({ ${postPatch} ''; # For OTP 27+ we need ex_doc to build the documentation # When exdocSupport is enabled, grab the raw ex_doc executable from the exdoc # derivation. Next, patch the first line to use the escript that will be # built during the build phase of this derivation. Finally, building the # documentation requires the erlang-logo.png asset. preConfigure = '' ./otp_build autoconf '' + optionalString exdocSupport '' mkdir -p $out/bin cp ${exdoc}/bin/.ex_doc-wrapped $out/bin/ex_doc sed -i "1 s:^.*$:#!$out/bin/escript:" $out/bin/ex_doc export EX_DOC=$out/bin/ex_doc mkdir -p $out/lib/erlang/system/doc/assets cp $src/system/doc/assets/erlang-logo.png $out/lib/erlang/system/doc/assets ''; configureFlags = [ "--with-ssl=${lib.getOutput "out" opensslPackage}" ] Loading
pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -17364,7 +17364,7 @@ with pkgs; }; inherit (beam.interpreters) erlang erlang_26 erlang_25 erlang_24 erlang erlang_27-rc2 erlang_26 erlang_25 erlang_24 erlang_odbc erlang_javac erlang_odbc_javac elixir elixir_1_16 elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls;
pkgs/top-level/beam-packages.nix +9 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,15 @@ in # Standard Erlang versions, using the generic builder. erlang_27-rc2 = self.beamLib.callErlang ../development/interpreters/erlang/27-rc2.nix { wxGTK = wxGTK32; parallelBuild = true; autoconf = buildPackages.autoconf269; exdocSupport = true; exdoc = self.packages.erlang_26.ex_doc; inherit wxSupport systemdSupport; }; erlang_26 = self.beamLib.callErlang ../development/interpreters/erlang/26.nix { wxGTK = wxGTK32; parallelBuild = true; Loading