gcc-arm-embedded: don't override phases

This commit is contained in:
Pavol Rusnak
2020-12-29 11:36:17 +01:00
parent 0dc7fa1541
commit 78a8ccf961
5 changed files with 21 additions and 21 deletions
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
preFixup = ''
find $out -type f | while read f; do
patchelf $f > /dev/null 2>&1 || continue
patchelf "$f" > /dev/null 2>&1 || continue
patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true
patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python27 ]} "$f" || true
done