aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-02-14 09:36:50 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-02-14 09:36:50 +0100
commitae2ecd04fc16577b7a7a7f1fa7ca15631a8a092f (patch)
tree23131303a42e1464a52522145ba234aa2089b979
parentd1e68f4f23fffca93b141e3a54e8dd5f96f97b1c (diff)
downloadguix-ae2ecd04fc16577b7a7a7f1fa7ca15631a8a092f.tar
guix-ae2ecd04fc16577b7a7a7f1fa7ca15631a8a092f.tar.gz
gnu: sugar: Add metacity to inputs.
* gnu/packages/sugar.scm (sugar)[inputs]: Add metacity. [arguments]: Patch references to metacity executables.
-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