nixpkgs/pkgs/applications/window-managers/qtile/restart_executable.patch
2015-07-28 22:55:32 +02:00

12 lines
485 B
Diff

diff -ruP a/libqtile/manager.py b/libqtile/manager.py
--- a/libqtile/manager.py 2015-07-26 21:26:16.947976520 +0200
+++ b/libqtile/manager.py 2015-07-26 21:37:45.581316712 +0200
@@ -1262,7 +1262,7 @@
argv = [s for s in argv if not s.startswith('--with-state')]
argv.append('--with-state=' + buf.getvalue().decode())
- self.cmd_execute(sys.executable, argv)
+ self.cmd_execute("@out@/bin/qtile", argv[1:])
def cmd_spawn(self, cmd):
"""