From 9c2da8a2969ff2284d875f67380c4536cda37cda Mon Sep 17 00:00:00 2001 From: Andrey Pavlov Date: Tue, 12 Jan 2016 16:53:31 +0300 Subject: [PATCH] elixir: 1.1.1 -> 1.2.0 --- pkgs/development/interpreters/elixir/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/elixir/default.nix b/pkgs/development/interpreters/elixir/default.nix index 380da51da77..642bde39e7e 100644 --- a/pkgs/development/interpreters/elixir/default.nix +++ b/pkgs/development/interpreters/elixir/default.nix @@ -1,18 +1,21 @@ { stdenv, fetchurl, erlang, rebar, makeWrapper, coreutils, curl, bash }: -let - version = "1.1.1"; -in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "elixir-${version}"; + version = "1.2.0"; src = fetchurl { url = "https://github.com/elixir-lang/elixir/archive/v${version}.tar.gz"; - sha256 = "0shh5brhcrvbvhl4bw0fs2y5llw7i97khkkglygx30ncvd7nwz9v"; + sha256 = "0s3j7ra9gb2p3dwgfxghvc9mkv6ffgvz27aj5wgwk0xq2d9fws4z"; }; buildInputs = [ erlang rebar makeWrapper ]; + # Elixir expects that UTF-8 locale to be set (see https://github.com/elixir-lang/elixir/issues/3548). + # In other cases there is warnings during compilation. + LANG = "en_US.UTF-8"; + LC_TYPE = "en_US.UTF-8"; + preBuild = '' # The build process uses ./rebar. Link it to the nixpkgs rebar rm -v rebar @@ -52,6 +55,6 @@ stdenv.mkDerivation { license = licenses.epl10; platforms = platforms.unix; - maintainers = [ maintainers.the-kenny maintainers.havvy ]; + maintainers = with maintainers; [ the-kenny havvy couchemar ]; }; }