guix-devel
[Top][All Lists]
Advanced

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

How to programmatically get the current channel commits?


From: Chris Marusich
Subject: How to programmatically get the current channel commits?
Date: Thu, 18 Jul 2019 22:49:54 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi,

It's possible to get the current Guix version via %guix-version,
exported by (guix config).  This is useful, among other reasons, for
embedding in package definitions that produce artifacts that are
destined to leave the store (e.g., a statically linked program you want
to ship off somewhere else).  Is it possible to programmatically get the
channel commits currently in use, also?

-- 
Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

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