diff --git a/pkgs/development/interpreters/erlang/generic-builder.nix b/pkgs/development/interpreters/erlang/generic-builder.nix index e716f809de8b..de904ba58d5f 100644 --- a/pkgs/development/interpreters/erlang/generic-builder.nix +++ b/pkgs/development/interpreters/erlang/generic-builder.nix @@ -137,7 +137,9 @@ stdenv.mkDerivation ({ postInstall = '' ln -s $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call + '' + (lib.optionalString stdenv.isLinux '' ln -s $out/lib/erlang/bin/escript $out/bin/escript + '') + '' ${postInstall} '';