[gnome-builder] rustup: run from inside flatpak



commit 60116f8f4b311d3e3d0eb9141908a7dff858bb18
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 28 14:04:08 2017 -0800

    rustup: run from inside flatpak
    
    We don't need to run on the host (and the script isn't available there
    anyway) since we have access to $HOME from within the flatpak.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779358

 plugins/rustup/rustup_plugin/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/rustup/rustup_plugin/__init__.py b/plugins/rustup/rustup_plugin/__init__.py
index 055a384..80d3c6a 100644
--- a/plugins/rustup/rustup_plugin/__init__.py
+++ b/plugins/rustup/rustup_plugin/__init__.py
@@ -289,7 +289,7 @@ class RustupInstaller(Ide.Transfer):
         task = Gio.Task.new(self, cancellable, callback)
 
         launcher = Ide.SubprocessLauncher()
-        launcher.set_run_on_host(True)
+        launcher.set_run_on_host(False)
         launcher.set_clear_env(False)
 
         if self.mode == _MODE_INSTALL:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]