mix-release: do not override fixup to strip binary
parent
5e9f18c572
commit
e13301fd5c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue