Merge pull request #242724 from GenericNerdyUsername/jetbrains-replace-jbr
Jetbrains: replace jbr (instead of just removing)
This commit is contained in:
commit
c11464c662
2 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,6 @@ let
|
||||||
--replace-needed libcrypto.so.10 libcrypto.so
|
--replace-needed libcrypto.so.10 libcrypto.so
|
||||||
|
|
||||||
autoPatchelf $PWD/bin
|
autoPatchelf $PWD/bin
|
||||||
wrapProgram $out/bin/clion \
|
|
||||||
--set CL_JDK "${jdk}"
|
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
|
@ -71,6 +71,8 @@ with stdenv; lib.makeOverridable mkDerivation (rec {
|
||||||
}
|
}
|
||||||
|
|
||||||
rm -rf jbr
|
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)
|
interpreter=$(echo ${stdenv.cc.libc}/lib/ld-linux*.so.2)
|
||||||
if [[ "${stdenv.hostPlatform.system}" == "x86_64-linux" && -e bin/fsnotifier64 ]]; then
|
if [[ "${stdenv.hostPlatform.system}" == "x86_64-linux" && -e bin/fsnotifier64 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue