From 724d416fae0ac935e59081656089346d87634782 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 11 Nov 2012 20:41:50 +0100 Subject: [PATCH] erlang: drop obsolete R15B01 version --- .../interpreters/erlang/R15B01.nix | 28 ------------------- .../erlang/{default.nix => R15B02.nix} | 0 pkgs/top-level/all-packages.nix | 6 ++-- 3 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 pkgs/development/interpreters/erlang/R15B01.nix rename pkgs/development/interpreters/erlang/{default.nix => R15B02.nix} (100%) diff --git a/pkgs/development/interpreters/erlang/R15B01.nix b/pkgs/development/interpreters/erlang/R15B01.nix deleted file mode 100644 index 18cfeca63294..000000000000 --- a/pkgs/development/interpreters/erlang/R15B01.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ stdenv, fetchurl, perl, gnum4, ncurses, openssl -, wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }: - -assert wxSupport -> mesa != null && wxGTK != null && xlibs != null; - -let version = "R15B01"; in - -stdenv.mkDerivation { - name = "erlang-" + version; - - src = fetchurl { - url = "http://www.erlang.org/download/otp_src_" + version + ".tar.gz"; - sha256 = "1pmb3hk51p6dwsspxx40qs7gjfyhxjjc3290qk6w1wwa6bkpskzr"; - }; - - buildInputs = - [ perl gnum4 ncurses openssl - ] ++ stdenv.lib.optional wxSupport [ mesa wxGTK xlibs.libX11 ]; - - patchPhase = '' 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 - ''; - - configureFlags = "--with-ssl=${openssl}"; -} diff --git a/pkgs/development/interpreters/erlang/default.nix b/pkgs/development/interpreters/erlang/R15B02.nix similarity index 100% rename from pkgs/development/interpreters/erlang/default.nix rename to pkgs/development/interpreters/erlang/R15B02.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cb21994df6d4..23d301b11ffa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2737,11 +2737,9 @@ let clooj = clooj_standalone_binary; }; - erlang = callPackage ../development/interpreters/erlang { }; - - erlangR15B01 = callPackage ../development/interpreters/erlang/R15B01.nix { }; - erlangR14B04 = callPackage ../development/interpreters/erlang/R14B04.nix { }; + erlangR15B02 = callPackage ../development/interpreters/erlang/R15B02.nix { }; + erlang = erlangR15B02; groovy = callPackage ../development/interpreters/groovy { };