From 0692c6a96d415d9e7cf300b7c19640c2aa1efc9c Mon Sep 17 00:00:00 2001 From: Gleb Peregud Date: Sat, 16 Jan 2016 18:53:48 +0100 Subject: [PATCH] Make rebar3-nix-bootstrap depend on erlang. This fixes patchShebangs ability to properly fix up path to escript binary. --- .../development/tools/erlang/rebar3-nix-bootstrap/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/erlang/rebar3-nix-bootstrap/default.nix b/pkgs/development/tools/erlang/rebar3-nix-bootstrap/default.nix index 347ec1d8bb68..b32d196272b7 100644 --- a/pkgs/development/tools/erlang/rebar3-nix-bootstrap/default.nix +++ b/pkgs/development/tools/erlang/rebar3-nix-bootstrap/default.nix @@ -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 = {