From f6ec82bbf37eedbc20abde3323aaabcc1b2dc328 Mon Sep 17 00:00:00 2001 From: followin Date: Fri, 15 Sep 2023 23:22:36 +0300 Subject: jetbrains-rust-rover: patch intellij-rust-native-helper plugin --- pkgs/applications/editors/jetbrains/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 1467f960f7e..07372413b73 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -328,6 +328,10 @@ let --replace-needed libcrypto.so.10 libcrypto.so autoPatchelf $PWD/bin + + interp="$(cat $NIX_CC/nix-support/dynamic-linker)" + patchelf --set-interpreter $interp $PWD/plugins/intellij-rust/bin/linux/x86-64/intellij-rust-native-helper + chmod +x $PWD/plugins/intellij-rust/bin/linux/x86-64/intellij-rust-native-helper ) ''; }); -- cgit 1.4.1