From 8ac0c5813c8e09393fdca5917940e66234ea66ed Mon Sep 17 00:00:00 2001 From: Jacky Nguyen Date: Thu, 12 Oct 2023 07:12:35 -0400 Subject: [PATCH] Remove autoPatchelfHook --- nix/7.x/linux.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nix/7.x/linux.nix b/nix/7.x/linux.nix index 5ccf1be..18beaa6 100644 --- a/nix/7.x/linux.nix +++ b/nix/7.x/linux.nix @@ -16,7 +16,6 @@ , cacert , lz4 , jemalloc -, autoPatchelfHook , removeReferencesTo , version ? "7.1.37" , sha256 ? "sha256-jJ1OUdjDhReY0iXzFlXu/cOE7dqu8LHuVRfkbuF8AtE=" @@ -63,7 +62,6 @@ stdenv.mkDerivation { lz4.dev jemalloc gcc11 - autoPatchelfHook removeReferencesTo ]; @@ -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;