erlang: don't relink escript on darwin

This commit is contained in:
Weijia Wang
2022-12-07 21:13:02 -05:00
committed by Yt
parent 7af4851db5
commit 166db6ef4b
@@ -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}
'';