forked from mirrors/nixpkgs
mix-release: do not override fixup to strip binary
This commit is contained in:
parent
5e9f18c572
commit
e13301fd5c
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue