From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: Packaging Mercury & Some Struggles Date: Thu, 5 Dec 2019 08:16:30 -0800 Message-ID: <801514C1-699B-45A2-8DE1-61D410217398@asu.edu> References: <87sglz625p.fsf@posteo.net> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60213) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icto1-0002fT-NR for guix-devel@gnu.org; Thu, 05 Dec 2019 11:16:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ictny-00022g-Mk for guix-devel@gnu.org; Thu, 05 Dec 2019 11:16:40 -0500 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:37532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ictny-0001xy-27 for guix-devel@gnu.org; Thu, 05 Dec 2019 11:16:38 -0500 Received: by mail-ot1-x332.google.com with SMTP id k14so3084662otn.4 for ; Thu, 05 Dec 2019 08:16:32 -0800 (PST) In-Reply-To: <87sglz625p.fsf@posteo.net> 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: Brett Gilio Cc: guix-devel@gnu.org Hi Brett, I like having mercury-minimal I think that=E2=80=99s pretty considerate. To use (ice-9 match) you will need to add it to the list of #:modules in the= arguments field then use-module in your phase. I.E.: (arguments `( #:modules ,(cons '(ice-9 match) %gnu-build-system-modules) ... Then in your phase: (lambda ... (use-modules (ice-9 match)) ... A phase should work well for this purpose, as long as the submodule does not= include any binaries. If it does, you should use the snippets field of the= origin record instead. Happy to help, and good luck, John=