add get* helper functions and mass-replace manual outputs search with them
This commit is contained in:
@@ -33,8 +33,8 @@ stdenv.mkDerivation {
|
||||
|
||||
for f in $(find $out); do
|
||||
if [ -f "$f" ] && patchelf "$f" 2> /dev/null; then
|
||||
patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
|
||||
--set-rpath $out/lib:${gcc.lib or gcc}/lib:${ncurses.out}/lib \
|
||||
patchelf --set-interpreter ${getLib glibc}/lib/ld-linux.so.2 \
|
||||
--set-rpath $out/lib:${getLib gcc}/lib:${ncurses.out}/lib \
|
||||
"$f" || true
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user