Re: guix system reconfigure: Wrong type argument in position 1 (expecting struct)

2019-06-18 Thread Giovanni Biscuolo
Ricardo Wurmus writes: [...] > Pull out the modify-services expression, so that it becomes the second > argument to “append”. Thank you Ricardo, I applied the cons* solution suggested by Julien ...what an amazing community: two answers in a few hours, you make me feel home :-D Happy Guix! Gi

Re: guix system reconfigure: Wrong type argument in position 1 (expecting struct)

2019-06-18 Thread Giovanni Biscuolo
Hello Julien, thank you for your check! Julien Lepiller writes: [...] > The result of modify-services is a list, but reading your file, it > seems you add it to the end of the (list ...) thing, Ouch... now **I see**! ...and begin to understand the error message > which is not going > to work

Re: guix system reconfigure: Wrong type argument in position 1 (expecting struct)

2019-06-18 Thread Ricardo Wurmus
Hi Giovanni, the problem is with your “services” field: (services (append (list … (modify-services %base-services (guix-service-type config => (guix-configuration

Re: guix system reconfigure: Wrong type argument in position 1 (expecting struct)

2019-06-18 Thread Julien Lepiller
Le Tue, 18 Jun 2019 16:53:51 +0200, Giovanni Biscuolo a écrit : > Hello Guix, > > I'm trying to reconfigure but I get this error: > > Since everytime I try to purposely add a syntax error or miss to add a > module guix correctly point that out, I doubt it depends on some error > in my config.sc

guix system reconfigure: Wrong type argument in position 1 (expecting struct)

2019-06-18 Thread Giovanni Biscuolo
Hello Guix, I'm trying to reconfigure but I get this error: --8<---cut here---start->8--- ~$ sudo -i guix system reconfigure /etc/config.scm Backtrace: 14 (primitive-load "/root/.config/guix/current/bin/guix") In guix/ui.scm: 1620:12 13 (run-guix-