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