services: guix-build-coordinator: Include the system profile in PATH.
authorChristopher Baines <mail@cbaines.net>
Thu, 22 Oct 2020 13:37:14 +0000 (14:37 +0100)
committerChristopher Baines <mail@cbaines.net>
Fri, 23 Oct 2020 14:40:09 +0000 (15:40 +0100)
As this allows hooks to use the system profile, if that's desired.

* gnu/services/guix.scm (guix-build-coordinator-shepherd-services): Set PATH
to include the system profile.

gnu/services/guix.scm

index 1666733..ac2a031 100644 (file)
                 #:environment-variables
                 `(,(string-append
                     "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale")
-                  "LC_ALL=en_US.utf8")
+                  "LC_ALL=en_US.utf8"
+                  "PATH=/run/current-system/profile/bin") ; for hooks
                 #:log-file "/var/log/guix-build-coordinator/coordinator.log"))
       (stop #~(make-kill-destructor))))))