From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gwl-devel-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id yEUJOam7YWIhNQEAbAwnHQ
	(envelope-from <gwl-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 21 Apr 2022 22:16:42 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id KFDbOKm7YWKSIgAAauVa8A
	(envelope-from <gwl-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 21 Apr 2022 22:16:41 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 96F4D39A47
	for <larch@yhetil.org>; Thu, 21 Apr 2022 22:16:41 +0200 (CEST)
Received: from localhost ([::1]:58258 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <gwl-devel-bounces+larch=yhetil.org@gnu.org>)
	id 1nhdEG-0002I9-Jc
	for larch@yhetil.org; Thu, 21 Apr 2022 16:16:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52340)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <olivier.dion@polymtl.ca>)
 id 1nhd8Y-0004cR-8P
 for gwl-devel@gnu.org; Thu, 21 Apr 2022 16:10:46 -0400
Received: from smtp.polymtl.ca ([132.207.4.11]:37163)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <olivier.dion@polymtl.ca>)
 id 1nhd8V-0002rx-Sg
 for gwl-devel@gnu.org; Thu, 21 Apr 2022 16:10:45 -0400
Received: from localhost (modemcable094.169-200-24.mc.videotron.ca
 [24.200.169.94])
 by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 23LKAbuK003525
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <gwl-devel@gnu.org>; Thu, 21 Apr 2022 16:10:42 -0400
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 23LKAbuK003525
To: Olivier Dion via <gwl-devel@gnu.org>
Subject: Re: [PATCH v1 1/2] packages: Support for full Guix specification
In-Reply-To: <20220421195158.22407-1-olivier.dion@polymtl.ca>
References: <87wnfiuzal.fsf@laura>
 <20220421195158.22407-1-olivier.dion@polymtl.ca>
Date: Thu, 21 Apr 2022 16:10:37 -0400
Message-ID: <87mtgeuria.fsf@laura>
MIME-Version: 1.0
Content-Type: text/plain
X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at
 Thu, 21 Apr 2022 20:10:37 +0000
Received-SPF: pass client-ip=132.207.4.11;
 envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: gwl-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <gwl-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/gwl-devel>,
 <mailto:gwl-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/gwl-devel>
List-Post: <mailto:gwl-devel@gnu.org>
List-Help: <mailto:gwl-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/gwl-devel>,
 <mailto:gwl-devel-request@gnu.org?subject=subscribe>
Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org
Sender: "gwl-devel" <gwl-devel-bounces+larch=yhetil.org@gnu.org>
Reply-to:  Olivier Dion <olivier.dion@polymtl.ca>
From:  Olivier Dion via <gwl-devel@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1650572201;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post; bh=q1Bn6JChZN0GFEwlAz7ENFOsUvF0XJ5ulEHw0SiboAA=;
	b=VxN3Wx8olSciKNLNsIrh05cInH/yP08MIaidbDMxpK8TOY6vz3Gc+M0YOZow00J3J95bRS
	D6irzPkFyuJDYjFCZXKg4aCbfBqUyEJISrJzyJeAMm1A45adM6lFqWmmy3gMJWLlUGF78e
	Yg9q9SpPCMUUsf1cBRPS1jALkgDQFTTO07XeO4nEIGCTxqKY+K9MSvoiO6JxqdCgDdIFH6
	DElKLKNPYgmmm63hoNMaDbhBUzhr9tVs2Qedr37qlq2ITcbqTXsMDOkYSChbv1FBlM6/Lo
	O70PuR/UE/72x8ZmSkLu6r0kNsRySRfx6cGNdXSrzoHAJ3LpxSPbN/GKsYZVtg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650572201; a=rsa-sha256; cv=none;
	b=tbFuQS+C7/FPAnRS+FfBQn3pIGGPbvmTdQElz3Nc9MPqQmIqYWJGXfimcnu9SjjNO71ALa
	LLXM9KIl4WJnU2lzdZnS27uLU2A1dvu4/LBknjWy/HRfh9gWPDus0Hjsitr0SCXQu+F3NQ
	UWnxC6uYM/5CPCYCshjLAzLP1jpaTsfMIkdiIux5tH08Mpz3989KBwFf5EPrUKw+yUz8Uk
	V6Y4WCRVtYGVTFvr+5fa4XiFt+rAm7pxQ2uXB3x43hwKIxWuedllPwyAx5UwxkTo+tp8H7
	cWjSCvwL5dWhpNxW5/9JZjg2VRXcF39u3GrEf9eyhqvSPiGYGFDlZlV/Kuc1gw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -3.03
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 96F4D39A47
X-Spam-Score: -3.03
X-Migadu-Scanner: scn1.migadu.com
X-TUID: U4B3kqChDLsj


The patch was tested on the following example:
--8<---------------cut here---------------start------------->8---
process list-binary-symbols (with pkg binary)
  synopsis "List all symbols of an executable."
  description "Given a package, returns a list of symbols of an executable."
  packages
    list "findutils" "elfutils:bin"
      string-append pkg ":debug"
  outputs
    string-append binary "-symbol-list.txt"
  # {
      eu-nm $(find -L $_GWL_PROFILE/lib/debug -name "{{binary}}.debug") > {{outputs}}
  }

workflow test
  processes
    list-binary-symbols "guile@3.0.8" "guile"
--8<---------------cut here---------------end--------------->8---

-- 
Olivier Dion
oldiob.dev