erlangR17: removed outdated & unused version

erlangR17 doesn't receive any upstream updates anymore and none of our
packages depend on it.
This commit is contained in:
Andreas Rammhold 2017-12-08 12:20:32 +01:00
parent 9f39d0ef68
commit 14f1698649
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86
3 changed files with 1 additions and 46 deletions

View File

@ -1,37 +0,0 @@
{ mkDerivation, fetchurl }:
mkDerivation rec {
version = "17.5";
src = fetchurl {
url = "http://www.erlang.org/download/otp_src_${version}.tar.gz";
sha256 = "0x34hj1a4j3rphqdaapdld7la4sqiqillamcz06wac0vk0684a1w";
};
prePatch = ''
sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure
'';
preConfigure = ''
export HOME=$PWD/../
sed -e s@/bin/pwd@pwd@g -i otp_build
'';
# Do not install docs, instead use prebuilt versions.
installTargets = "install";
postInstall = let
manpages = fetchurl {
url = "http://www.erlang.org/download/otp_doc_man_${version}.tar.gz";
sha256 = "1hspm285bl7i9a0d4r6j6lm5yk4sb5d9xzpia3simh0z06hv5cc5";
};
in ''
tar xf "${manpages}" -C "$out/lib/erlang"
for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
prefix="''${i%/*}"
ensureDir "$out/share/man/''${prefix##*/}"
ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
done
'';
meta.knownVulnerabilities = [ "CVE-2017-1000385" ];
}

View File

@ -6477,7 +6477,7 @@ with pkgs;
beam = callPackage ./beam-packages.nix { }; beam = callPackage ./beam-packages.nix { };
inherit (beam.interpreters) inherit (beam.interpreters)
erlang erlangR17 erlangR18 erlangR19 erlangR20 erlang erlangR18 erlangR19 erlangR20
erlang_odbc erlang_javac erlang_odbc_javac erlang_nox erlang_basho_R16B02 erlang_odbc erlang_javac erlang_odbc_javac erlang_nox erlang_basho_R16B02
elixir elixir_1_5 elixir_1_4 elixir_1_3 elixir elixir_1_5 elixir_1_4 elixir_1_3
lfe lfe_1_2; lfe lfe_1_2;

View File

@ -14,13 +14,6 @@ rec {
erlang_nox = erlangR19_nox; erlang_nox = erlangR19_nox;
# These are standard Erlang versions, using the generic builder. # These are standard Erlang versions, using the generic builder.
erlangR17 = lib.callErlang ../development/interpreters/erlang/R17.nix {};
erlangR17_odbc = erlangR17.override { odbcSupport = true; };
erlangR17_javac = erlangR17.override { javacSupport = true; };
erlangR17_odbc_javac = erlangR17.override {
javacSupport = true; odbcSupport = true;
};
erlangR17_nox = erlangR17.override { wxSupport = false; };
erlangR18 = lib.callErlang ../development/interpreters/erlang/R18.nix { erlangR18 = lib.callErlang ../development/interpreters/erlang/R18.nix {
wxGTK = wxGTK30; wxGTK = wxGTK30;
}; };
@ -73,7 +66,6 @@ rec {
# Packages built with default Erlang version. # Packages built with default Erlang version.
erlang = packagesWith interpreters.erlang; erlang = packagesWith interpreters.erlang;
erlangR17 = packagesWith interpreters.erlangR17;
erlangR18 = packagesWith interpreters.erlangR18; erlangR18 = packagesWith interpreters.erlangR18;
erlangR19 = packagesWith interpreters.erlangR19; erlangR19 = packagesWith interpreters.erlangR19;
erlangR20 = packagesWith interpreters.erlangR20; erlangR20 = packagesWith interpreters.erlangR20;