Skip to content

Commit

Permalink
Remove autoPatchelfHook
Browse files Browse the repository at this point in the history
  • Loading branch information
nktpro committed Oct 12, 2023
1 parent 849d4cb commit 8ac0c58
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions nix/7.x/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
, cacert
, lz4
, jemalloc
, autoPatchelfHook
, removeReferencesTo
, version ? "7.1.37"
, sha256 ? "sha256-jJ1OUdjDhReY0iXzFlXu/cOE7dqu8LHuVRfkbuF8AtE="
Expand Down Expand Up @@ -63,7 +62,6 @@ stdenv.mkDerivation {
lz4.dev
jemalloc
gcc11
autoPatchelfHook
removeReferencesTo
];

Expand Down Expand Up @@ -92,9 +90,6 @@ stdenv.mkDerivation {
mv $out/lib $lib
mv $out/bindings $bindings
find $lib -type f -name "*.so" -exec patchelf --shrink-rpath --allowed-rpath-prefixes "${builtins.storeDir}" {} \;
remove-references-to -t "${openjdk11}" $lib/libfdb_java.so
'';

dontPatchShebangs = true;
Expand Down

0 comments on commit 8ac0c58

Please sign in to comment.