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
h…")
599:16 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.
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
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
Hi Giovanni,
the problem is with your “services” field:
(services
(append
(list …
(modify-services %base-services
(guix-service-type config =>
(guix-configuration
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
:
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: #< motd:
system.scm:
>> 1175:13 5 (_ _)
>> 882:18 4 (perform-action reconfigure #< kerne…> …)
>> In gnu/system.scm:
>> 851:19 3 (operating-system-derivation _)
>> In gnu/services.scm:
>> 743:6 2 (instantiate-missing-services _)
>> In guix/combinators.scm:
>>
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
>
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
10 matches
Mail list logo