[gnome-builder/wip/gtk4-port] intelephense: set correct PATH



commit e20ef873480aa6aba96b552c81ef1a8b2d23b9d8
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]