[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Advice about guile-spec package definition
From: |
Efraim Flashner |
Subject: |
Re: Advice about guile-spec package definition |
Date: |
Thu, 1 Apr 2021 15:17:23 +0300 |
On Thu, Apr 01, 2021 at 01:21:10PM +0200, Jérémy Korwin-Zmijowski wrote:
> Le jeudi 01 avril 2021 à 13:16 +0300, Efraim Flashner a écrit :
> > I'm not sure what all it affects, but there does seem to be a
> > difference
> > between guile-3.0.2 and 3.0.5. I'd add guile or leave it out of the
> > environment file depending on which version you want.
>
> Using the user's Guile version should be fine, so I left it out. But
> then…
>
> $ guix build -f guix.scm
> […]
> starting phase `build'
> Backtrace:
> 8 (primitive-load "/gnu/store/2l1dkrsvkc5fzng4fj2yndjvb03…")
> In ice-9/eval.scm:
> 191:35 7 (_ _)
> In guix/build/gnu-build-system.scm:
> 838:2 6 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
> In ice-9/boot-9.scm:
> 1736:10 5 (with-exception-handler _ _ #:unwind? _ # _)
> In srfi/srfi-1.scm:
> 857:16 4 (every1 #<procedure 7ffff4b2dd60 at guix/build/gnu-bui…>
> …)
> In guix/build/gnu-build-system.scm:
> 847:30 3 (_ _)
> In guix/build/guile-build-system.scm:
> 149:21 2 (build #:outputs _ #:inputs _ #:native-inputs _ # _ # _ …)
> In unknown file:
> 1 (string-append "/gnu/store/a80yx2xza2k4i9bwbcsa2vwdjnx…"
> …)
> In ice-9/boot-9.scm:
> 1669:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> In procedure string-append: Wrong type (expecting string): #f
> […]
>
> I don't understant a word of it haha.
It's expecting a string, likely part of (string-append (assoc-ref input
"guile") "/bin/guile"), probably from the guile-build-system. But if
there is no input named "guile" then (assoc-ref input "guile") returns
'#f' so that's what the error means.
Looks like you should put guile back into the guix.scm :)
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature