guix-devel
[Top][All Lists]
Advanced

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

Re: git-fetch without a hash


From: Stephen Paul Weber
Subject: Re: git-fetch without a hash
Date: Tue, 3 Jan 2023 14:31:20 -0500

However, there's no real reason that git-fetch *needs* to be
fixed-output in terms of having a hash pre-defined, at least for local
development and other purposes.  So is there a way around this?

 • write (package (source (git-checkout …)) …)

This works well. Now I'm curious how to know what can go in the (source) field? Obviously not just (origin)...

If having a way around it is not desirable should url-fetch consider
this an error as well?

I’m not sure; do you have an example where it’s not behaving as
expected?

Yes. When using (sha256 #f) url-fetch still has network access and works to download things, which is inconsistent vs other fetchers.

Attachment: signature.asc
Description: PGP signature


reply via email to

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