summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/sugar.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index c9b8433f01..d2df6be012 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -80,6 +80,11 @@
               (substitute* "bin/sugar.in"
                 (("exec python3")
                  (string-append "exec " (which "python3"))))
+              (substitute* "src/jarabe/main.py"
+                (("'metacity'")
+                 (string-append "'" (search-input-file inputs "/bin/metacity") "'"))
+                (("'metacity-message")
+                 (string-append "'" (search-input-file inputs "/bin/metacity-message"))))
               (substitute* "extensions/cpsection/datetime/model.py"
                 (("/usr/share/zoneinfo/zone.tab")
                  (search-input-file inputs "/share/zoneinfo/zone.tab")))
@@ -111,6 +116,7 @@
                (find-files (string-append #$output "/bin") "^sugar.*")))))))
     (inputs
      (list gtk+
+           metacity
            mobile-broadband-provider-info
            python
            sugar-artwork