Omar Radwan <toxemicsqui...@gmail.com> writes: > 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
The reason it fails when you add 'dhcp-client-service' isn't because there's a problem with that procedure, but because 'cons' only takes two arguments and forms a pair, and you are passing three. Use 'cons*' instead. (services (cons* (slim-service) (dhcp-client-service) %base-services)) Hope this helps! -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate