diff mbox series

[bug#65480] home: services: redshift: Use redshift package specified in configuration

Message ID GV1P193MB2310FCC4B528A94EAC002C27DF1CA@GV1P193MB2310.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#65480] home: services: redshift: Use redshift package specified in configuration | expand

Commit Message

Kjartan Oli Agustsson Aug. 23, 2023, 10:35 p.m. UTC
* gnu/home/services/desktop.scm (redshift-shepherd-service): Use the redshift
package specified by config.
---
 gnu/home/services/desktop.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: e318b62df361624e3bac70f658bcf5600ba5ca79

Comments

Ludovic Courtès Sept. 14, 2023, 1:53 p.m. UTC | #1
Hi,

Kjartan Oli Agustsson <kjartanoli@outlook.com> skribis:

> * gnu/home/services/desktop.scm (redshift-shepherd-service): Use the redshift
> package specified by config.

Good catch!  Applied, thanks.

Ludo’.
diff mbox series

Patch

diff --git a/gnu/home/services/desktop.scm b/gnu/home/services/desktop.scm
index 626918fd9e..c4da116100 100644
--- a/gnu/home/services/desktop.scm
+++ b/gnu/home/services/desktop.scm
@@ -172,7 +172,7 @@  (define (redshift-shepherd-service config)
          ;; FIXME: This fails to start if Home is first activated from a
          ;; non-X11 session.
          (start #~(make-forkexec-constructor
-                   (list #$(file-append redshift "/bin/redshift")
+                   (list #$(file-append (home-redshift-configuration-redshift config) "/bin/redshift")
                          "-c" #$config-file)))
          (stop #~(make-kill-destructor))
          (actions (list (shepherd-configuration-action config-file))))))