[gnome-builder/wip/gtk4-port: 1230/1774] intelephense: set correct PATH
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1230/1774] intelephense: set correct PATH
- Date: Mon, 11 Jul 2022 22:31:39 +0000 (UTC)
commit 896aea9b3c4e15078735f3650a1191383eb5e96b
Author: Peter Maatman <blackwolf12333 gmail com>
Date: Fri May 27 12:03:50 2022 +0200
intelephense: set correct PATH
For the flatpak build of builder we need to add /app/bin to the PATH of
our launcher because `node` is only included there and not anywhere else
in the `PATH`.
src/plugins/intelephense/gbp-intelephense-service.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/intelephense/gbp-intelephense-service.c
b/src/plugins/intelephense/gbp-intelephense-service.c
index bbcd57458..1ff9f262d 100644
--- a/src/plugins/intelephense/gbp-intelephense-service.c
+++ b/src/plugins/intelephense/gbp-intelephense-service.c
@@ -151,6 +151,7 @@ gbp_intelephense_service_configure_launcher (IdeLspService *service,
g_assert (IDE_IS_SUBPROCESS_LAUNCHER (launcher));
ide_subprocess_launcher_push_argv (launcher, "--stdio");
+ ide_subprocess_launcher_append_path (launcher, "/app/bin");
IDE_EXIT;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]