[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnu/services/shepherd.scm:90:2: In procedure allocate-struct: Wrong
From: |
Oleg Pykhalov |
Subject: |
Re: gnu/services/shepherd.scm:90:2: In procedure allocate-struct: Wrong type argument in position 2: 5 |
Date: |
Thu, 05 Oct 2017 03:00:16 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) |
Hello Maxim,
Maxim Cournoyer <address@hidden> writes:
> Oleg Pykhalov <address@hidden> writes:
>
>> Maxim Cournoyer <address@hidden> writes:
>>
>>>> Efraim Flashner <address@hidden> writes:
>>>>
>>>>> On Fri, Sep 29, 2017 at 07:21:27PM +0800, Huang, Ying wrote:
>>
>> [...]
>>
>>>>> you're in need of a 'make clean'. If you don't want to have to rebuild
>>>>> everything, then 'rm -- gnu/*go gnu/s*/*go gnu/tests/*go' should take
>>>>> care of all of the affected modules.
>>>
>>> For the reference, there already is a "clean-go" target that
>>> accomplishes just that, so you could run "make clean-go" the next time
>>> you are faced with a similar error.
>>
>> A bit of info from my experience writing cgit-service-type and 'cgit test':
>>
>> $ rm gnu/services/version-control.go gnu/services/web.go rm -f gnu/*.go
>> gnu/s*/*g.o
>>
>> Even `make clean-go' in guix checkout directory didn't help. So, random
>> thought did the job:
>>
>> $ for x in $(find ~/.cache/ -type f -name '*.go' | grep test); do rm $x; done
>
> There shouldn't be any auto-compilation going on with Guix unless you are
> using Emacs-Guix. This has been fixed in a recent commit[1] but will only
> appear in the next release.
>
> In the mean time you could define the following in your ~/.emacs:
>
> (setq guix-guile-program '("guile" "--no-auto-compile"))
Thanks. But I already have this definition before this talk:
(setq guix-guile-program '("/home/natsu/src/guix/pre-inst-env"
"guile" "--no-auto-compile"))
> [1] https://notabug.org/alezost/emacs-guix/issues/2