GNU bug report logs -
#46209
46043 breaks booting with custom shepherd package
Previous Next
Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Sun, 31 Jan 2021 12:47:01 UTC
Severity: normal
Done: Oleg Pykhalov <go.wigust <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Sun, 2021-01-31 at 22:49 +0300, Oleg Pykhalov wrote:
> (operating-system
>
> (inherit base-system)
>
> (essential-services
>
> (modify-services (operating-system-default-essential-services base-system)
>
> (shepherd-root-service-type config => (shepherd-configuration
>
> (inherit config)
>
> (shepherd shepherd)))))))
I'm currently running "guix time-machine etcetera", which hasn't completed yet,
but here's some quick speculation on what could have went wrong:
You shouldn't write (operating-system-default-essential-services base-system),
but rather (operating-system-default-essential-services this-operating-system).
The essential-services field is thunked, basically that means that the expression
under essential-services can refer to the operating-system definition itself,
using the macro this-operating-system.
A potentially fixed configuration is attached, I'll try to run it in a VM.
[Message part 2 (text/html, inline)]
[reproduce-shepherd-bug.scm (text/x-scheme, attachment)]
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 160 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.