From mboxrd@z Thu Jan  1 00:00:00 1970
From: Jack Hill <jackhill@jackhill.us>
Subject: List of installed package, version pairs
Date: Wed, 9 Jan 2019 17:03:40 -0500 (EST)
Message-ID: <alpine.DEB.2.20.1901091703170.7735@marsh.hcoop.net>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Return-path: <help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([209.51.188.92]:55700)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jackhill@jackhill.us>) id 1ghLws-0008DB-4u
	for help-guix@gnu.org; Wed, 09 Jan 2019 17:03:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jackhill@jackhill.us>) id 1ghLwr-0007SX-9p
	for help-guix@gnu.org; Wed, 09 Jan 2019 17:03:42 -0500
Received: from minsky.hcoop.net ([104.248.1.95]:46574)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <jackhill@jackhill.us>)
	id 1ghLwr-0007SP-5Q
	for help-guix@gnu.org; Wed, 09 Jan 2019 17:03:41 -0500
Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa
	(TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
	(envelope-from <jackhill@jackhill.us>) id 1ghLwr-00067W-0O
	for help-guix@gnu.org; Wed, 09 Jan 2019 17:03:41 -0500
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
	<mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-guix/>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
	<mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org
Sender: "Help-Guix" <help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org>
To: help-guix@gnu.org

Hi,

It seems that work has noticed the GuixSD host that I brought into the 
office. The security office maintains a risk profile be collecting lists 
of installed packages, so I've been asked to produce one for the GuixSD 
host. I assume that the garbage collector's live-paths is roughly 
equivalent to what they want.

However, I've become stuck developing this report as both "guix gc 
--list-live" and the live-paths function in the (guix store) Guile module 
produce a list of store paths. I would like to get the package name and 
version. Is there a good way to do this without resorting to string 
manipulation?

Best,
Jack