From 7342d8b3f034b1525541bcf12268064ff5b2bd56 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 13 Feb 2024 13:10:22 +0100 Subject: 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 --- gnu/packages/sugar.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/packages') 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/")))) -- cgit v1.2.3