Subject: Re: [bug#28283] Status: [PATCH 1/1] gnu: services: version-control: Add cgit.

From: [email-masked] (Ludovic Courtès)
Date: Fri, 22 Sep 2017 23:38:16 +0200

Oleg Pykhalov <[email-masked]> skribis:

> Then I added new field to record:
>
> (define-record-type* <nginx-server-configuration>
>   …
>   (try-files           nginx-server-configuration-try-files
>                        (default '())))
>
>
> Testing:
>
> natsu@magnolia ~/src/guix-devel-nginx-test$ guix environment guix -- make check-system TESTS=nginx
> ;;; note: source file /home/natsu/src/guix-wigust/wigust/packages/emacs.scm
> ;;;       newer than compiled /home/natsu/.cache/guile/ccache/2.2-LE-8-3.A/home/natsu/src/guix-wigust/wigust/packages/emacs.scm.go
> Compiling Scheme modules...
>   LOAD     (gnu services web)
> ;;; note: source file ./gnu/services/web.scm
> ;;;       newer than compiled /home/natsu/src/guix-devel-nginx-test/gnu/services/web.go
>   GUILEC   gnu/services/web.go
> warning: failed to load '(gnu tests web)':
> ERROR: In procedure allocate-struct: Wrong type argument in position 2: 9
> Running 0 system tests...

It’s also a case where the ABI breaks, and thus dependent modules need
to be recompiled: “rm gnu/tests/web.go && make”.

Does that make sense?

Ludo’.