elixir: 1.0.5 -> 1.1.1
Had to change the `mix` shebang to do coreutils/bin/env elixir, not coreutils/bin/env elixir/bin/elixir.
This commit is contained in:
parent
7cef1a4150
commit
f824566fb3
@ -1,14 +1,14 @@
|
|||||||
{ stdenv, fetchurl, erlang, rebar, makeWrapper, coreutils, curl, bash }:
|
{ stdenv, fetchurl, erlang, rebar, makeWrapper, coreutils, curl, bash }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.0.5";
|
version = "1.1.1";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "elixir-${version}";
|
name = "elixir-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/elixir-lang/elixir/archive/v${version}.tar.gz";
|
url = "https://github.com/elixir-lang/elixir/archive/v${version}.tar.gz";
|
||||||
sha256 = "1f419pzlcgqx68rygwwyp2hzh4vgp0avjydd84dpa7finckc5raw";
|
sha256 = "0shh5brhcrvbvhl4bw0fs2y5llw7i97khkkglygx30ncvd7nwz9v";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ erlang rebar makeWrapper ];
|
buildInputs = [ erlang rebar makeWrapper ];
|
||||||
@ -35,7 +35,7 @@ stdenv.mkDerivation {
|
|||||||
done
|
done
|
||||||
|
|
||||||
substituteInPlace $out/bin/mix \
|
substituteInPlace $out/bin/mix \
|
||||||
--replace "/usr/bin/env elixir" "${coreutils}/bin/env $out/bin/elixir"
|
--replace "/usr/bin/env elixir" "${coreutils}/bin/env elixir"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -52,6 +52,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
license = licenses.epl10;
|
license = licenses.epl10;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.the-kenny ];
|
maintainers = [ maintainers.the-kenny maintainers.havvy ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user