git.iko.soy/typeable/nixpkgs
on master help sign in
mix-release: do not override fixup to strip binary
commite13301fd5c916ef89d302085c5fdf364a4e5e069 authorhappysalada <raphael@megzari.com> dateSun 6 Jun 2021, 21:03 (5 years ago) parent5e9f18c
1 file changed+1−5
pkgs/development/beam-modules/mix-release.nix+1−5
pkgs/development/beam-modules/mix-release.nix+1−5
@@ -82,8 +82,7 @@ stdenv.mkDerivation (overridable // {
8282 runHook postInstall
8383 '';
8484
85− fixupPhase = ''
86− runHook preFixup
85+ postFixup = ''
8786 if [ -e "$out/bin/${pname}.bat" ]; then # absent in special cases, i.e. elixir-ls
8887 rm "$out/bin/${pname}.bat" # windows file
8988 fi
@@ -102,9 +101,6 @@ stdenv.mkDerivation (overridable // {
102101 substituteInPlace "$file" --replace "${erlang}/lib/erlang" "$out"
103102 done
104103 fi
105−
106− patchShebangs $out
107− runHook postFixup
108104 '';
109105
110106 # TODO investigate why the resulting closure still has