guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 06/96] gnu: ocaml: Use a helper function to download from oca


From: David Craven
Subject: Re: [PATCH 06/96] gnu: ocaml: Use a helper function to download from ocaml-forge.
Date: Wed, 4 Jan 2017 14:38:48 +0100

+      (ocaml-forge-origin name version 1627
+        "0cyj6sfdvzx8hw7553lhgwc0krlgvlza0ph3dk9gsxy047dm3wib"))

I changed this to be ocaml-forge-uri.

There are multiple reasons why I think it's a better idea:

* if one ever writes an ocaml updater then it can use the existing
code to update the hash.
* the hash is checked at compile time to be a correct base32 hash
(when running make). This is because base32 is implemented as a syntax
rule.
* it's consistent with what other packages do.



reply via email to

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