From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: How to programmatically get the current channel commits? Date: Thu, 18 Jul 2019 22:49:54 -0700 Message-ID: <8736j28tfh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35495) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoLmK-0002YH-2R for guix-devel@gnu.org; Fri, 19 Jul 2019 01:50:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoLmJ-0007mM-7H for guix-devel@gnu.org; Fri, 19 Jul 2019 01:50:00 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:44047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoLmJ-0007le-1U for guix-devel@gnu.org; Fri, 19 Jul 2019 01:49:59 -0400 Received: by mail-pg1-x52d.google.com with SMTP id i18so13949971pgl.11 for ; Thu, 18 Jul 2019 22:49:58 -0700 (PDT) Received: from garuda.local ([2601:601:9d80:25b2::d12]) by smtp.gmail.com with ESMTPSA id l4sm29661037pff.50.2019.07.18.22.49.55 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jul 2019 22:49:56 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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? =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl0xWgIACgkQ3UCaFdgi Rp3WRA/9FUMH2f9imGXwNhhy0Ov2oDLHzoeRALS1/UnlT0LfbGArH/qYYwX9BTko /AAixhDAkNlehA7uOoPf/upRpRCkY4n+hSHuoGBmxuOcUP+3J+4QhSM6h6D/kCXF 7ILjiB91LYXozUzx3nvXcQsBz4nJufqA7veHc/zJi+ALHvuCjH5HSWX4tbP2Jns8 Bhp7/8edkXhUOJN9Rv5gnrbctHMFe66PuditUbpmQhjRX7rq58juQm2COcd5lVMK u35VSuRsG97fyFM6ARV4H5pBTLLTTpZrdtmRViI0PFJb+5ax1aIKDY3xS/J1oOoO rDrXUHh6vm1GBHqCroT7jctFaR4r7BrJBTzzH6xLbktCCZ2BkuyHADFyIgTsQVyG 90FVdCsN3XCewUuVZQQR+fZr59s8gr+1kVl8pV3qSmZ1ggubi0s6Pw/Vkn8+KQNJ 4VGP8aSZmyKaM/+A9IHUEZ1tbn0OQajLxwuSpjE9x9gBArG0xDQw20diKxUUNZLw KFOuaETNU3j/ieOnQT7nflo5M2mb5NPGsi1jmLagXO8SyVxuX3JlTnvs7dhPg7zC dZA/kb2G1wl3Nuqz3/vlsz3G4tcVgoEiZtEYIbFRxJgA0wed5nfOLYhBZUVU4eJA Aix7MziKqf4cf4+0bsjqxvSffDtKHxhKgk65Jcxaxa/OIbbHpmw= =NaxZ -----END PGP SIGNATURE----- --=-=-=--