Hi Thijs,
Thijs <thijs@ouroboros.rocks> writes: > Hello! > > I am wondering if it possible for Shepherd to load services using a guix > package. > `herd load root </absolute/path/to/service-with-guix-package.scm>` > This is sort of backwards than the route Guix usually takes, where you use guix to produce something that is usable by other software. In case of shepherd, Guix is used to build a scheme file that is runnable by shepherd. In guix channel there is the `shepherd-service` record, and then `shepherd-service-file` procedure to make a file that is runnable by Shepherd. So if you were to take that route, you would have a file like this: ``` (use-modules (guix gexp) (gnu packages base) (gnu services shepherd)) (define test-service (shepherd-service (provision '(test)) (start #~(make-forkexec-constructor '(,#$(file-append coreutils "/bin/bash") "Hello world!"))) (stop #~(make-kill-destructor)))) (shepherd-service-file test-service) ``` and to load it, you would do `herd load root $(guix build -f ./path/to/it.scm)` Is there a specific reason you didn't go this way and instead are trying to get shepherd to understand Guix? Regards Rutherther