gnu: sugar: Patch global location of Sugar activities.

* gnu/packages/sugar.scm (sugar)[arguments]: Update build phase
'fix-references to patch activities directory.
This commit is contained in:
Ricardo Wurmus 2023-02-27 16:08:56 +01:00
parent e0ea8fb1ea
commit c8c0d53faf
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -101,10 +101,9 @@ (define-public sugar
(substitute* "extensions/cpsection/background/model.py"
(("\\('/usr', 'share', 'backgrounds'\\)")
"('TODO')"))
#;
(substitute* "src/jarabe/view/viewhelp.py"
(("/usr/share/sugar/activities/Help.activity")
"TODO"))))
(("/usr/share/sugar/activities/")
"/run/current-system/profile/share/sugar/activities/"))))
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(for-each