Hi Lee,
This is not an answer to your question, which Andreas already nailed.
It's more common that people install BIND as a package (not service) because
they want the CLI tools, most notably ‘dig’, instead of the BIND daemon itself.
These tools are installed into a separate bind:utils package output.
To select an output using a package ‘specification’ (=a string as used on the
Guix CLI):
(packages
(append (map (compose list specification->package+output)
(list "bind:utils"
"hello"
"etc"))
;; This example mixes specs and variables for no good reason:
(list some-other-package
or-not)))
Or if you prefer plain Scheme variables (as do I):
(packages
(list (list bind "utils") ;nested (package "output") list
some-other-package ;plain package variable
or-not)))
If you actually want BIND proper—or already knew all this!—my apologies for
being presumptuous. I just wanted to pre-empt a possible follow-up thread.
Kind regards,
T G-R
Sent on the go. Excuse or enjoy my brevity.