mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
jetbrains.*: fix remote development server
See https://github.com/NixOS/nixpkgs/issues/153335#issuecomment-1859223732 for details
This commit is contained in:
parent
0a436289e1
commit
778c94c57f
@ -1,17 +1,20 @@
|
|||||||
--- a/plugins/remote-dev-server/bin/launcher.sh
|
--- a/plugins/remote-dev-server/bin/launcher.sh
|
||||||
+++ b/plugins/remote-dev-server/bin/launcher.sh
|
+++ b/plugins/remote-dev-server/bin/launcher.sh
|
||||||
@@ -366,6 +366,8 @@
|
@@ -322,7 +322,7 @@ fi
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# Configure fonts and fontconfig
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
-if [ $IS_DARWIN -ne 1 ]; then
|
||||||
|
+if false; then
|
||||||
|
FONTS_CONFIGURATION_BASE_PATH="$REMOTE_DEV_SERVER_DIR/selfcontained/fontconfig"
|
||||||
|
if [ ! -d "$FONTS_CONFIGURATION_BASE_PATH" ]; then
|
||||||
|
echo "ERROR! Unable to locate font configuration source directory in self-contained distribution: '$FONTS_CONFIGURATION_BASE_PATH'." 1>&2
|
||||||
|
@@ -371,6 +371,8 @@ else
|
||||||
REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=1
|
REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
+REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=0
|
+REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=0
|
||||||
+
|
+
|
||||||
if [ $REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS -eq 1 ]; then
|
if [ $REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS -eq 1 ]; then
|
||||||
SELFCONTAINED_LIBS="$REMOTE_DEV_SERVER_DIR/selfcontained/lib"
|
SELFCONTAINED_LIBS="$REMOTE_DEV_SERVER_DIR/selfcontained/lib"
|
||||||
if [ ! -d "$SELFCONTAINED_LIBS" ]; then
|
if [ ! -d "$SELFCONTAINED_LIBS" ]; then
|
||||||
@@ -596,3 +598,5 @@
|
|
||||||
"$LAUNCHER" "$STARTER_COMMAND" "$PROJECT_PATH" "$@"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
+
|
|
||||||
+unset REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS
|
|
||||||
|
Loading…
Reference in New Issue
Block a user