Merge pull request #242724 from GenericNerdyUsername/jetbrains-replace-jbr

Jetbrains: replace jbr (instead of just removing)
This commit is contained in:
Pol Dellaiera 2023-07-14 10:03:07 +02:00 committed by GitHub
commit c11464c662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,6 @@ let
--replace-needed libcrypto.so.10 libcrypto.so
autoPatchelf $PWD/bin
wrapProgram $out/bin/clion \
--set CL_JDK "${jdk}"
)
'';
});

View File

@ -71,6 +71,8 @@ with stdenv; lib.makeOverridable mkDerivation (rec {
}
rm -rf jbr
# When using the IDE as a remote backend using gateway, it expects the jbr directory to contain the jdk
ln -s ${jdk.home} jbr
interpreter=$(echo ${stdenv.cc.libc}/lib/ld-linux*.so.2)
if [[ "${stdenv.hostPlatform.system}" == "x86_64-linux" && -e bin/fsnotifier64 ]]; then