erlang: don't relink escript on darwin

This commit is contained in:
Weijia Wang 2022-12-08 03:01:45 +01:00 committed by Yt
parent 7af4851db5
commit 166db6ef4b

View file

@ -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}
'';