jetbrains.*: replace jbr directory instead of removing

This commit is contained in:
GenericNerdyUsername 2023-07-10 22:46:04 +01:00
parent dd4054b93d
commit dd47be7ec8
No known key found for this signature in database
GPG Key ID: 65BA194581245B15

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