From e6ff028cfa9990336a9ae4ee094c1513d7796d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Sun, 20 Mar 2022 10:55:20 +0100 Subject: [PATCH] vim_configurable: drop patchelf It doesn't seem to change the RPATH even with all features enabled. --- pkgs/applications/editors/vim/configurable.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix index b436c5db5b2d..bc317b91597e 100644 --- a/pkgs/applications/editors/vim/configurable.nix +++ b/pkgs/applications/editors/vim/configurable.nix @@ -175,10 +175,6 @@ in stdenv.mkDerivation rec { postInstall = '' ln -s $out/bin/vim $out/bin/vi '' + lib.optionalString stdenv.isLinux '' - patchelf --set-rpath \ - "$(patchelf --print-rpath $out/bin/vim):${lib.makeLibraryPath buildInputs}" \ - "$out"/bin/vim - ln -sfn '${nixosRuntimepath}' "$out"/share/vim/vimrc '';