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
This commit is contained in:
parent
596daff250
commit
4ef4a17f77
@ -23,8 +23,14 @@ stdenv.mkDerivation rec {
|
|||||||
sed -e 's@/sbin/@'"$out"'/sbin/@' -i ./lib/cleaner*.c
|
sed -e 's@/sbin/@'"$out"'/sbin/@' -i ./lib/cleaner*.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# FIXME: Remove after https://github.com/NixOS/patchelf/pull/98 is in
|
# FIXME: https://github.com/NixOS/patchelf/pull/98 is in, but stdenv
|
||||||
dontPatchELF = true;
|
# still doesn't use it
|
||||||
|
#
|
||||||
|
# To make sure patchelf doesn't mistakenly keep the reference via
|
||||||
|
# build directory
|
||||||
|
postInstall = ''
|
||||||
|
find . -name .libs | xargs rm -rf
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "NILFS utilities";
|
description = "NILFS utilities";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user