all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ‘computed-origin-method’ for IceCat and ungoogled-chromium
@ 2019-08-29 23:33 Ludovic Courtès
  2019-08-30 22:41 ` Mark H Weaver
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-08-29 23:33 UTC (permalink / raw)
  To: Mark H Weaver, Marius Bakke; +Cc: guix-devel

Hello Mark & Marius!

Somehow I hadn’t noticed the clever trick with ‘computed-origin-method’
in IceCat and ungoogled-chromium, and it came to me as a shock today.
;-)

I stumbled upon it while traversing packages with ‘guix lint’ because
they violated the assumption that the ‘sha256’ field of <origin> is
always a bytevector.

I suspect this could be rewritten by using ‘computed-file’ instead of
<origin>.  This should be clearer, I think, notably because it would
avoid exposing a “non-conforming” <origin>.

WDYT?

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-03 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-29 23:33 ‘computed-origin-method’ for IceCat and ungoogled-chromium Ludovic Courtès
2019-08-30 22:41 ` Mark H Weaver
2019-09-03 12:49   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.