nilfs-utils: fix build

Just kill .libs to make sure patchelf does shrink-rpath correctly

Complain in comments that patchelf/#98 is still not used by stdenv

+8 -2
+8 -2
pkgs/tools/filesystems/nilfs-utils/default.nix
··· 23 23 sed -e 's@/sbin/@'"$out"'/sbin/@' -i ./lib/cleaner*.c 24 24 ''; 25 25 26 - # FIXME: Remove after https://github.com/NixOS/patchelf/pull/98 is in 27 - dontPatchELF = true; 26 + # FIXME: https://github.com/NixOS/patchelf/pull/98 is in, but stdenv 27 + # still doesn't use it 28 + # 29 + # To make sure patchelf doesn't mistakenly keep the reference via 30 + # build directory 31 + postInstall = '' 32 + find . -name .libs | xargs rm -rf 33 + ''; 28 34 29 35 meta = { 30 36 description = "NILFS utilities";