diff options
author | Tino Breddin <tino@daogames.com> | 2014-09-27 21:58:58 +0200 |
---|---|---|
committer | Tino Breddin <tino@daogames.com> | 2014-09-27 21:58:58 +0200 |
commit | cba717fd7b07166e97a2ee551a29648e3b07cd5c (patch) | |
tree | 2d8b9e3ec80eca5aded3fe51c487407a027f0faf /pkgs/development/interpreters/elixir | |
parent | 7323d5e1289a8da957172dbdf92bb7ebf72dd963 (diff) |
elixir: make curl available to mix
Diffstat (limited to 'pkgs/development/interpreters/elixir')
-rw-r--r-- | pkgs/development/interpreters/elixir/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/elixir/default.nix b/pkgs/development/interpreters/elixir/default.nix index 8f0b4a238b3d7..a6fc139e2e5f7 100644 --- a/pkgs/development/interpreters/elixir/default.nix +++ b/pkgs/development/interpreters/elixir/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, erlang, rebar, makeWrapper, coreutils }: +{ stdenv, fetchurl, erlang, rebar, makeWrapper, coreutils, curl, bash, cacert }: let version = "1.0.0"; @@ -20,6 +20,8 @@ stdenv.mkDerivation { substituteInPlace Makefile \ --replace "/usr/local" $out + substituteInPlace bin//mix \ + --replace "/usr/bin/env elixir" "$out/bin/elixir" ''; postFixup = '' @@ -29,7 +31,8 @@ stdenv.mkDerivation { for f in $out/bin/* do wrapProgram $f \ - --prefix PATH ":" "${erlang}/bin:${coreutils}/bin" + --prefix PATH ":" "${erlang}/bin:${coreutils}/bin:${curl}/bin:${bash}/bin" \ + --set CURL_CA_BUNDLE "${cacert}/etc/ca-bundle.crt" done ''; |