Loading pkgs/development/interpreters/erlang/28.nix +2 −2 Original line number Diff line number Diff line { mkDerivation }: mkDerivation { version = "28.0-rc1"; sha256 = "sha256-fjje31F5YW5rzetb2r4fkESwKt9N+WOH3yrqETUjJzg="; version = "28.0-rc2"; sha256 = "sha256-ENarmypS1rs6gG7e0/WOC9p/jabwrjbj/u1rFeWDHck="; } pkgs/development/interpreters/erlang/generic-builder.nix +7 −38 Original line number Diff line number Diff line Loading @@ -12,18 +12,15 @@ openssl, perl, runtimeShell, autoconf, openjdk11 ? null, # javacSupport unixODBC ? null, # odbcSupport libGL ? null, libGLU ? null, wxGTK ? null, xorg ? null, ex_doc ? null, parallelBuild ? false, systemd, wxSupport ? true, ex_docSupport ? false, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, # systemd support in epmd # updateScript deps writeScript, Loading Loading @@ -76,14 +73,6 @@ installPhase ? "", preInstall ? "", postInstall ? "", installTargets ? if ((lib.versionOlder version "27.0") || ex_docSupport) then [ "install" "install-docs" ] else [ "install" ], checkPhase ? "", preCheck ? "", postCheck ? "", Loading @@ -104,7 +93,6 @@ assert assert odbcSupport -> unixODBC != null; assert javacSupport -> openjdk11 != null; assert ex_docSupport -> ex_doc != null; let inherit (lib) Loading Loading @@ -132,7 +120,6 @@ stdenv.mkDerivation ( LANG = "C.UTF-8"; nativeBuildInputs = [ autoconf makeWrapper perl gnum4 Loading @@ -140,11 +127,9 @@ stdenv.mkDerivation ( libxml2 ]; env = lib.optionalAttrs ((lib.versionAtLeast "28.0-rc1" version) && ex_docSupport) { # erlang-28.0-rc> warning: jinterface.html redirects to ../lib/jinterface/doc/html/index.html, which does not exist # erlang-28.0-rc> # erlang-28.0-rc> warning: odbc.html redirects to ../lib/odbc/doc/html/index.html, which does not exist EX_DOC_WARNINGS_AS_ERRORS = "false"; env = { # only build shell/IDE docs and man pages DOC_TARGETS = "chunks man"; }; buildInputs = Loading Loading @@ -174,25 +159,6 @@ stdenv.mkDerivation ( --replace-fail '"sh ' '"${runtimeShell} ' ''; # For OTP 27+ we need ex_doc to build the documentation # When ex_docSupport is enabled, grab the raw ex_doc executable from the ex_doc # 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 ex_docSupport '' mkdir -p $out/bin cp ${ex_doc}/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}" ] ++ [ "--with-ssl-incl=${lib.getDev opensslPackage}" ] # This flag was introduced in R24 Loading @@ -211,6 +177,10 @@ stdenv.mkDerivation ( # install-docs will generate and install manpages and html docs # (PDFs are generated only when fop is available). installTargets = [ "install" "install-docs" ]; postInstall = '' ln -s $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call Loading Loading @@ -295,7 +265,6 @@ stdenv.mkDerivation ( // optionalAttrs (preCheck != "") { inherit preCheck; } // optionalAttrs (postCheck != "") { inherit postCheck; } // optionalAttrs (installPhase != "") { inherit installPhase; } // optionalAttrs (installTargets != [ ]) { inherit installTargets; } // optionalAttrs (preInstall != "") { inherit preInstall; } // optionalAttrs (fixupPhase != "") { inherit fixupPhase; } // optionalAttrs (preFixup != "") { inherit preFixup; } Loading pkgs/top-level/all-packages.nix +0 −6 Original line number Diff line number Diff line Loading @@ -6904,12 +6904,6 @@ with pkgs; wxSupport = false; systemdSupport = false; }; beam_nodocs = callPackage ./beam-packages.nix { beam = beam_nodocs; wxSupport = false; systemdSupport = false; ex_docSupport = false; }; inherit (beam.interpreters) erlang erlang_28 erlang_27 erlang_26 erlang_25 Loading pkgs/top-level/beam-packages.nix +2 −11 Original line number Diff line number Diff line { lib, beam, beam_nodocs, callPackage, wxGTK32, buildPackages, stdenv, ex_docSupport ? true, wxSupport ? true, systemd, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, Loading Loading @@ -34,30 +31,24 @@ in erlang_28 = self.beamLib.callErlang ../development/interpreters/erlang/28.nix { wxGTK = wxGTK32; parallelBuild = true; # ex_doc failing to build with erlang 28 inherit (beam_nodocs.packages.erlang_27) ex_doc; inherit ex_docSupport wxSupport systemdSupport; inherit wxSupport systemdSupport; }; erlang_27 = self.beamLib.callErlang ../development/interpreters/erlang/27.nix { wxGTK = wxGTK32; parallelBuild = true; autoconf = buildPackages.autoconf269; inherit (beam_nodocs.packages.erlang_27) ex_doc; inherit ex_docSupport wxSupport systemdSupport; inherit wxSupport systemdSupport; }; erlang_26 = self.beamLib.callErlang ../development/interpreters/erlang/26.nix { wxGTK = wxGTK32; parallelBuild = true; autoconf = buildPackages.autoconf269; inherit wxSupport systemdSupport; }; erlang_25 = self.beamLib.callErlang ../development/interpreters/erlang/25.nix { wxGTK = wxGTK32; parallelBuild = true; autoconf = buildPackages.autoconf269; inherit wxSupport systemdSupport; }; Loading Loading
pkgs/development/interpreters/erlang/28.nix +2 −2 Original line number Diff line number Diff line { mkDerivation }: mkDerivation { version = "28.0-rc1"; sha256 = "sha256-fjje31F5YW5rzetb2r4fkESwKt9N+WOH3yrqETUjJzg="; version = "28.0-rc2"; sha256 = "sha256-ENarmypS1rs6gG7e0/WOC9p/jabwrjbj/u1rFeWDHck="; }
pkgs/development/interpreters/erlang/generic-builder.nix +7 −38 Original line number Diff line number Diff line Loading @@ -12,18 +12,15 @@ openssl, perl, runtimeShell, autoconf, openjdk11 ? null, # javacSupport unixODBC ? null, # odbcSupport libGL ? null, libGLU ? null, wxGTK ? null, xorg ? null, ex_doc ? null, parallelBuild ? false, systemd, wxSupport ? true, ex_docSupport ? false, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, # systemd support in epmd # updateScript deps writeScript, Loading Loading @@ -76,14 +73,6 @@ installPhase ? "", preInstall ? "", postInstall ? "", installTargets ? if ((lib.versionOlder version "27.0") || ex_docSupport) then [ "install" "install-docs" ] else [ "install" ], checkPhase ? "", preCheck ? "", postCheck ? "", Loading @@ -104,7 +93,6 @@ assert assert odbcSupport -> unixODBC != null; assert javacSupport -> openjdk11 != null; assert ex_docSupport -> ex_doc != null; let inherit (lib) Loading Loading @@ -132,7 +120,6 @@ stdenv.mkDerivation ( LANG = "C.UTF-8"; nativeBuildInputs = [ autoconf makeWrapper perl gnum4 Loading @@ -140,11 +127,9 @@ stdenv.mkDerivation ( libxml2 ]; env = lib.optionalAttrs ((lib.versionAtLeast "28.0-rc1" version) && ex_docSupport) { # erlang-28.0-rc> warning: jinterface.html redirects to ../lib/jinterface/doc/html/index.html, which does not exist # erlang-28.0-rc> # erlang-28.0-rc> warning: odbc.html redirects to ../lib/odbc/doc/html/index.html, which does not exist EX_DOC_WARNINGS_AS_ERRORS = "false"; env = { # only build shell/IDE docs and man pages DOC_TARGETS = "chunks man"; }; buildInputs = Loading Loading @@ -174,25 +159,6 @@ stdenv.mkDerivation ( --replace-fail '"sh ' '"${runtimeShell} ' ''; # For OTP 27+ we need ex_doc to build the documentation # When ex_docSupport is enabled, grab the raw ex_doc executable from the ex_doc # 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 ex_docSupport '' mkdir -p $out/bin cp ${ex_doc}/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}" ] ++ [ "--with-ssl-incl=${lib.getDev opensslPackage}" ] # This flag was introduced in R24 Loading @@ -211,6 +177,10 @@ stdenv.mkDerivation ( # install-docs will generate and install manpages and html docs # (PDFs are generated only when fop is available). installTargets = [ "install" "install-docs" ]; postInstall = '' ln -s $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call Loading Loading @@ -295,7 +265,6 @@ stdenv.mkDerivation ( // optionalAttrs (preCheck != "") { inherit preCheck; } // optionalAttrs (postCheck != "") { inherit postCheck; } // optionalAttrs (installPhase != "") { inherit installPhase; } // optionalAttrs (installTargets != [ ]) { inherit installTargets; } // optionalAttrs (preInstall != "") { inherit preInstall; } // optionalAttrs (fixupPhase != "") { inherit fixupPhase; } // optionalAttrs (preFixup != "") { inherit preFixup; } Loading
pkgs/top-level/all-packages.nix +0 −6 Original line number Diff line number Diff line Loading @@ -6904,12 +6904,6 @@ with pkgs; wxSupport = false; systemdSupport = false; }; beam_nodocs = callPackage ./beam-packages.nix { beam = beam_nodocs; wxSupport = false; systemdSupport = false; ex_docSupport = false; }; inherit (beam.interpreters) erlang erlang_28 erlang_27 erlang_26 erlang_25 Loading
pkgs/top-level/beam-packages.nix +2 −11 Original line number Diff line number Diff line { lib, beam, beam_nodocs, callPackage, wxGTK32, buildPackages, stdenv, ex_docSupport ? true, wxSupport ? true, systemd, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, Loading Loading @@ -34,30 +31,24 @@ in erlang_28 = self.beamLib.callErlang ../development/interpreters/erlang/28.nix { wxGTK = wxGTK32; parallelBuild = true; # ex_doc failing to build with erlang 28 inherit (beam_nodocs.packages.erlang_27) ex_doc; inherit ex_docSupport wxSupport systemdSupport; inherit wxSupport systemdSupport; }; erlang_27 = self.beamLib.callErlang ../development/interpreters/erlang/27.nix { wxGTK = wxGTK32; parallelBuild = true; autoconf = buildPackages.autoconf269; inherit (beam_nodocs.packages.erlang_27) ex_doc; inherit ex_docSupport wxSupport systemdSupport; inherit wxSupport systemdSupport; }; erlang_26 = self.beamLib.callErlang ../development/interpreters/erlang/26.nix { wxGTK = wxGTK32; parallelBuild = true; autoconf = buildPackages.autoconf269; inherit wxSupport systemdSupport; }; erlang_25 = self.beamLib.callErlang ../development/interpreters/erlang/25.nix { wxGTK = wxGTK32; parallelBuild = true; autoconf = buildPackages.autoconf269; inherit wxSupport systemdSupport; }; Loading