Substitute reference to elixir

This commit is contained in:
Thomas Eizinger 2024-10-20 21:12:09 +11:00
parent c304b7a22f
commit e592a52311
No known key found for this signature in database
GPG Key ID: 05633CD77196CAF3

View File

@ -56,7 +56,8 @@ mixRelease {
substituteInPlace $out/lib/launch.sh \ substituteInPlace $out/lib/launch.sh \
--replace "ERL_LIBS=\"\$SCRIPTPATH:\$ERL_LIBS\"" \ --replace "ERL_LIBS=\"\$SCRIPTPATH:\$ERL_LIBS\"" \
"ERL_LIBS=$out/lib:\$ERL_LIBS" \ "ERL_LIBS=$out/lib:\$ERL_LIBS" \
--replace "exec elixir" "exec ${elixir}/bin/elixir" --replace "exec elixir" "exec ${elixir}/bin/elixir" \
--replace 'echo "" | elixir' "echo \"\" | ${elixir}/bin/elixir"
runHook postInstall runHook postInstall
''; '';