summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDavid <dlesl@users.noreply.github.com>2021-05-13 12:59:12 +0200
committerRaphael Megzari <raphael@megzari.com>2021-05-17 10:26:48 +0900
commit814d9bac114dfa89321954767db376d7f2ec053f (patch)
tree98438470ac2022a8cbee60b6b4b13148b61fe426 /pkgs
parente4d652129a376f658f3b5192417d7f214bf138d8 (diff)
downloadnixpkgs-814d9bac114dfa89321954767db376d7f2ec053f.tar
nixpkgs-814d9bac114dfa89321954767db376d7f2ec053f.tar.gz
nixpkgs-814d9bac114dfa89321954767db376d7f2ec053f.tar.bz2
nixpkgs-814d9bac114dfa89321954767db376d7f2ec053f.tar.lz
nixpkgs-814d9bac114dfa89321954767db376d7f2ec053f.tar.xz
nixpkgs-814d9bac114dfa89321954767db376d7f2ec053f.tar.zst
nixpkgs-814d9bac114dfa89321954767db376d7f2ec053f.zip
erlang-ls: add erlang to buildInputs
This enables patch-shebangs to find `escript` and patch the interpreter
path correctly
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/beam-modules/erlang-ls/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/beam-modules/erlang-ls/default.nix b/pkgs/development/beam-modules/erlang-ls/default.nix
index 3f2ae6e7e2f..ff68af8d521 100644
--- a/pkgs/development/beam-modules/erlang-ls/default.nix
+++ b/pkgs/development/beam-modules/erlang-ls/default.nix
@@ -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";