aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-02-13 13:10:22 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-02-13 15:02:59 +0100
commit7342d8b3f034b1525541bcf12268064ff5b2bd56 (patch)
tree9612e4cd40f0e9becb34ee1a0ca252cc28c5db4d /gnu/packages
parent20513ed554578287338c2aa89a0c40514fb28421 (diff)
downloadguix-7342d8b3f034b1525541bcf12268064ff5b2bd56.tar.gz
guix-7342d8b3f034b1525541bcf12268064ff5b2bd56.zip
gnu: sugar: Patch background image location.
* gnu/packages/sugar.scm (sugar)[arguments]: Use current system profile's /share/backgrounds directory for background images. Change-Id: I9f995e8761b845e56ed40e8116eee3f542a2c9d7
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/sugar.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 94c6f6d80f..6fec47b14f 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -120,12 +120,11 @@
;; XXX: The brightness component crashes, so we disable it here.
(substitute* "src/jarabe/main.py"
(("brightness.get_instance\\(\\)") ""))
- ;; TODO: these locations should be set to places that exist on
- ;; Guix System.
- #;
+ ;; This is a global location on Guix System. Ideally we would
+ ;; have a search path here.
(substitute* "extensions/cpsection/background/model.py"
(("\\('/usr', 'share', 'backgrounds'\\)")
- "('TODO')"))
+ "('/run', 'current-system', 'profile', 'share', 'backgrounds')"))
(substitute* "src/jarabe/view/viewhelp.py"
(("/usr/share/sugar/activities/")
"/run/current-system/profile/share/sugar/activities/"))))