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: Ryan Prior
Subject: bug#45453: Error when I try to build a package using a JSON definition
Date: Sun, 27 Dec 2020 03:19:56 +0000

Julien Lepiller <julien@lepiller.eu> writes:

> 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?

I did try it twice, some hours apart. And in the meanwhile, the package
defined using Guile downloads its sources and builds just fine.

> 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?

It is in the manual (Search for "JSON representation"):
https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html

Not clear to me whether you can provide a source hash as part of a JSON
package definition.

Thanks & let me know if you turn up any other clues!
Ryan






reply via email to

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