elixir_1_6: remove

Additionally removed the now obsolete rebar build dependency for elixir.
This commit is contained in:
cw
2020-09-24 15:14:52 +02:00
parent ac33603b66
commit 3c379af10b
5 changed files with 8 additions and 24 deletions

View File

@@ -1,7 +0,0 @@
{ mkDerivation }:
mkDerivation {
version = "1.6.6";
sha256 = "1wl8rfpw0dxacq4f7xf6wjr8v2ww5691d0cfw9pzw7phd19vazgl";
minimumOTPVersion = "19";
}

View File

@@ -1,4 +1,4 @@
{ pkgs, stdenv, fetchFromGitHub, erlang, rebar, makeWrapper,
{ pkgs, stdenv, fetchFromGitHub, erlang, makeWrapper,
coreutils, curl, bash, debugInfo ? false }:
{ baseName ? "elixir"
@@ -20,7 +20,7 @@ in
inherit src version;
buildInputs = [ erlang rebar makeWrapper ];
buildInputs = [ erlang makeWrapper ];
LANG = "C.UTF-8";
LC_TYPE = "C.UTF-8";
@@ -32,10 +32,6 @@ in
buildFlags = optional debugInfo "ERL_COMPILER_OPTIONS=debug_info";
preBuild = ''
# The build process uses ./rebar. Link it to the nixpkgs rebar
rm -vf rebar
ln -s ${rebar}/bin/rebar rebar
patchShebangs lib/elixir/generate_app.escript || true
substituteInPlace Makefile \