Re: oci-container-service-type: Wrong type argument in position 1 (expecting struct)

2024-06-09 Thread Carlo Zancanaro
Hi Samuel, On Wed, Jun 05 2024, Samuel Willey wrote: > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure struct-vtable: Wrong type argument in position 1 (expecting > struct): "pihole/pihole:latest" I believe this is a bug[1] that was fixed

oci-container-service-type: Wrong type argument in position 1 (expecting struct)

2024-06-09 Thread Samuel Willey
2 (lower-oci-image "pihole" "pihole/pihole:latest") In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): "pihole/pihole:latest" I also tried the example config given in the devel Guix manual, however that yielded the same results. Any help would be greatly appreciated.

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

2019-06-19 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!

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

2019-06-19 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

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

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

2019-06-18 Thread Giovanni Biscuolo
738:6 2 (instantiate-missing-services _) In srfi/srfi-1.scm: 466:18 1 (fold # …) In gnu/services.scm: 739:27 0 (_ (#< type: #…> …) …) gnu/services.scm:739:27: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): (#< type: # value: #

Re: Wrong type argument in position 1 (expecting struct): #

2019-05-09 Thread rendaw
gt; 733:11 0 (adjust-service-list _ (#< type: # …) …) > > gnu/services.scm:733:11: In procedure adjust-service-list: > In procedure struct_vtable: Wrong type argument in position 1 (expecting > struct): # > Please, let me know how to understand such errors. Here, I saw the same >

Wrong type argument in position 1 (expecting struct): #

2019-05-08 Thread znavko
45:26 1 (fold2 # …) In gnu/services.scm: 733:11 0 (adjust-service-list _ (#< type: # …) …) gnu/services.scm:733:11: In procedure adjust-service-list: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): # Please, let me know how to understand such errors. Here, I s