Make rebar3-nix-bootstrap depend on erlang.

This fixes patchShebangs ability to properly fix up path to escript
binary.
This commit is contained in:
Gleb Peregud 2016-01-16 18:53:48 +01:00
parent 0b1fffb3f3
commit 0692c6a96d

View file

@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub }:
{stdenv, fetchFromGitHub, erlang }:
stdenv.mkDerivation rec {
name = "rebar3-nix-bootstrap";
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0xyj7j59dmxyl5nhhsmb0r1pihmk0s4k02ga1rfgm30rij6n7431";
};
buildInputs = [ erlang ];
installFlags = "PREFIX=$(out)";
meta = {