mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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
|
||||
'';
|
||||
|
||||
# FIXME: Remove after https://github.com/NixOS/patchelf/pull/98 is in
|
||||
dontPatchELF = true;
|
||||
# FIXME: https://github.com/NixOS/patchelf/pull/98 is in, but stdenv
|
||||
# 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 = {
|
||||
description = "NILFS utilities";
|
||||
|
Loading…
Reference in New Issue
Block a user