mix-release: do not override fixup to strip binary

master
happysalada 2021-06-06 21:03:44 +09:00 committed by Raphael Megzari
parent 5e9f18c572
commit e13301fd5c
1 changed files with 1 additions and 5 deletions

View File

@ -82,8 +82,7 @@ stdenv.mkDerivation (overridable // {
runHook postInstall runHook postInstall
''; '';
fixupPhase = '' postFixup = ''
runHook preFixup
if [ -e "$out/bin/${pname}.bat" ]; then # absent in special cases, i.e. elixir-ls if [ -e "$out/bin/${pname}.bat" ]; then # absent in special cases, i.e. elixir-ls
rm "$out/bin/${pname}.bat" # windows file rm "$out/bin/${pname}.bat" # windows file
fi fi
@ -102,9 +101,6 @@ stdenv.mkDerivation (overridable // {
substituteInPlace "$file" --replace "${erlang}/lib/erlang" "$out" substituteInPlace "$file" --replace "${erlang}/lib/erlang" "$out"
done done
fi fi
patchShebangs $out
runHook postFixup
''; '';
# TODO investigate why the resulting closure still has # TODO investigate why the resulting closure still has