diff --git a/pkgs/development/beam-modules/erlang-ls/default.nix b/pkgs/development/beam-modules/erlang-ls/default.nix index a2739e4b6f6f..4bd4a43b7832 100644 --- a/pkgs/development/beam-modules/erlang-ls/default.nix +++ b/pkgs/development/beam-modules/erlang-ls/default.nix @@ -11,6 +11,9 @@ let proper = super.proper.overrideAttrs (_: { configurePhase = "true"; }); + redbug = super.redbug.overrideAttrs (_: { + patchPhase = "sed -i 's/, warnings_as_errors//' rebar.config"; + }); }); }; in