erlang-ls: add erlang to buildInputs

This enables patch-shebangs to find `escript` and patch the interpreter
path correctly
This commit is contained in:
David 2021-05-13 12:59:12 +02:00 committed by Raphael Megzari
parent e4d652129a
commit 814d9bac11

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub, fetchHex, stdenv, rebar3WithPlugins, lib }:
{ fetchFromGitHub, fetchHex, stdenv, erlang, rebar3WithPlugins, lib }:
let
version = "0.15.0";
owner = "erlang-ls";
@ -7,7 +7,7 @@ let
in stdenv.mkDerivation {
inherit version;
pname = "erlang-ls";
buildInputs = [ (rebar3WithPlugins { }) ];
buildInputs = [ erlang (rebar3WithPlugins { }) ];
src = fetchFromGitHub {
inherit owner repo;
sha256 = "1s6zk8r5plm7ajifz17mvfrnk5mzbhj7alayink9phqbmzrypnfg";