1. > Hmm could you paste the actual error?
   2.
   3. bash-4.3$ sudo guix system reconfigure /etc/config.scm
   4. guix system: error: failed to load operating system file
   '/etc/config.scm':
   5. ERROR: Wrong number of arguments to #<procedure cons (_ _)>
   6.
   7. And I'm 100 percent sure it's the dhcp-client-service declaration
   because when I take it out, guix system reconfigure works fine. And just in
   case, here's my config.scm
   8. """
   9. (use-modules (gnu)
   10. (gnu services xorg)
   11. (gnu services networking)
   12. (gnu packages emacs)
   13.  )
   14. (operating-system
   15.   (host-name "ShadyNet2")
   16.   (timezone "US/Pacific")
   17.   (locale "en_US.UTF-8")
   18.   (bootloader (grub-configuration (device "/dev/sda")))
   19.   (file-systems (cons (file-system
   20.                         (device "/dev/sda1")
   21.                         (title 'label)
   22.                         (mount-point "/")
   23.                         (type "ext4"))
   24.                       %base-file-systems))
   25.  (users (list (user-account
   26.                 (name "omar")
   27.                 (group "users")
   28.                 (supplementary-groups '("wheel"
   29.                                         "audio" "video"))
   30.                 (home-directory "/home/omar"))))
   31.   (packages (cons emacs %base-packages))
   32.   (services (cons (slim-service)
   (dhcp-client-service)%base-services)))
   33. """
   34.


On Sat, Jan 24, 2015 at 12:53 PM, Ludovic Courtès <l...@gnu.org> wrote:

> Andreas Enge <andr...@enge.fr> skribis:
>
> > On Fri, Jan 23, 2015 at 09:43:34AM +0100, Ludovic Courtès wrote:
> >> So in general I agree it’s a good idea, and it’s easily done with
> >> ‘union-build’, so if people know of useful meta-packages, please
> >> send a patch.
> >
> > Why not an empty package with only propagated inputs?
>
> It would be equivalent if it worked, but it doesn’t.  :-)
> Currently a package has to produce something.
>
> Ludo’.
>
>

Reply via email to