Skip to content

Commit

Permalink
Revert "tsm-client: fix patching rpath with autoPatchelf"
Browse files Browse the repository at this point in the history
This reverts commit 1ed9ba0.

After the underlying bug in `auto-patchelf.py` got fixed,
this workaround is no longer necessary.
  • Loading branch information
Yarny0 committed Jan 15, 2023
1 parent 818d0f8 commit 57c8c6c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkgs/tools/backup/tsm-client/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,6 @@ let
ln --symbolic --force --no-target-directory "$out/$(cut -b 7- <<< "$target")" "$link"
done
'';

# since 7b9fd5d1c9802131ca0a01ff08a3ff64379d2df4
# autopatchelf misses to add $out/lib to rpath;
# we have to call autopatchelf manually as it would
# run too late and overwrite our rpath otherwise
dontAutoPatchelf = true;
postFixup = ''
autoPatchelf $out
patchelf --add-rpath $out/lib $out/lib/*
'';
};

binPath = lib.makeBinPath ([ acl gnugrep procps ]
Expand Down

0 comments on commit 57c8c6c

Please sign in to comment.