nixpkgs-immich/pkgs/stdenv/freebsd/always-patchelf.sh
2024-09-17 10:23:40 -06:00

6 lines
154 B
Bash

fixupOutputHooks+=(_FreeBSDPatchelfShrink)
_FreeBSDPatchelfShrink() {
find $prefix -type f | xargs -n1 patchelf --shrink-rpath &>/dev/null || true
}