bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45453: Error when I try to build a package using a JSON definition


From: Julien Lepiller
Subject: bug#45453: Error when I try to build a package using a JSON definition
Date: Sat, 26 Dec 2020 21:28:10 -0500
User-agent: K-9 Mail for Android

I'm surprised guix builds from a json file… doesn't it simply interpret it as a guile file, and fails at that?

Anyway, in the log you attached, it seems the issue is with downloading the sources. For some reason it cannot resolve the github.com domain. I wonder if this is just a transient network issue on your side? Have you tried again later?

If not, it could be that the source derivation is not fixed-output. After all, the json definition doesn't specify a hash (it's not even an origin record). Again I'm confused by the fact that guix lets you specify packages with json, so I'm not sure how that part is converted to a package object. Is that documented?

Le 26 décembre 2020 19:38:18 GMT-05:00, Ryan Prior via Bug reports for GNU Guix <bug-guix@gnu.org> a écrit :
Hi guix! Today I wrote a package in Guile and then decided to try and
reproduce the same thing using JSON, but I hit a snag. I'm attaching
the package definition in its Guile and JSON forms, along with the error
I get when I try to build the package using `guix build -f countdown.json'.

Any idea what the issue here is or how I should go about debugging?

Thank you!
Ryan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]