From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 2NrJD0mzkGOOigAAbAwnHQ (envelope-from ) for ; Wed, 07 Dec 2022 16:37:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4P0/D0mzkGPPTQAAG6o9tA (envelope-from ) for ; Wed, 07 Dec 2022 16:37:45 +0100 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 CED85383EE for ; Wed, 7 Dec 2022 16:37:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2wTv-00083Q-6T; Wed, 07 Dec 2022 10:37:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2wTq-00082m-Hi for help-guix@gnu.org; Wed, 07 Dec 2022 10:37:06 -0500 Received: from buffalo.birch.relay.mailchannels.net ([23.83.209.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2wTj-0006hp-Ci for help-guix@gnu.org; Wed, 07 Dec 2022 10:37:06 -0500 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D90E4881CB7; Wed, 7 Dec 2022 15:36:50 +0000 (UTC) Received: from pdx1-sub0-mail-a221.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E719488223E; Wed, 7 Dec 2022 15:36:43 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1670427403; a=rsa-sha256; cv=none; b=fpMsYAjnqK2iXSvAlc6occObT85BnUdAv4SxHtIUptyEwb5tIfHJIsR8v4yercAlSIw3fI cBvxE/dgNPrL27cl0cg1pskqsx++lCEy1v4jeH2yzsn+lxGRvE8iGdsUD1b8+A5bDTq/Fi 6ieR+yQv4Gh6l0ncS4MDXfEyupqbLQxf4oiS9FiawaTurotFYhkqnoenlqfyNYDSeSBTjB dT99SZwXISVa6YUVhGKKz+IO3nD+wY7VfA4x8kKOoj6fyxZkTsg8h/Ice+8Q5roZnoflDn AUNLoQfpBBf+jmYNRuQ89+dAqJpfBTssvmfdNe0XyRLfWSR56nJgdxHz7JMzeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1670427403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=jNiwuzi3tO4bLNaELadqeJDKaHUfdU8oLL2Z38zxwc0=; b=bcqHNEW4AMd/IkrL+EluDvyfuBxGnzqlrTWwUzW1hFFXc4WLAYkyG9lyDgDdZjjys9rryS wQ+dPZY6FD2ZI35OYvrxXPhZcycL7S5peRuLezwkQ2NjmYigNxq+teEVeQAJfSRBrOlBv3 YyvB6CwSXLqgFa2GSyouRZwmZWFViy9lMO8VGJWcd3sbSSWATFQ3EdJR0o4fyQtPRvAykC oGBmeS8sbx7fY3LBWXdLg7j7zoWckF5Y2lGThIb9bNeSJRwGfqmTWdHWJhAq/Sgq85SFLH PUgM+8mGKKadkS+Nj+Ykd6fwKcN9A7mP1eVO3fcc6mpYaD4GrQJnH0Z7tASzzg== ARC-Authentication-Results: i=1; rspamd-d48c5ddb-fvkxb; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Whispering-Little: 038a48fc2b5a5786_1670427404179_2725527421 X-MC-Loop-Signature: 1670427404179:564836542 X-MC-Ingress-Time: 1670427404179 Received: from pdx1-sub0-mail-a221.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.109.138.16 (trex/6.7.1); Wed, 07 Dec 2022 15:36:44 +0000 Received: from minotaur (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a221.dreamhost.com (Postfix) with ESMTPSA id 4NS1bv2g97zHs; Wed, 7 Dec 2022 07:36:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1670427403; bh=jNiwuzi3tO4bLNaELadqeJDKaHUfdU8oLL2Z38zxwc0=; h=From:To:Cc:Subject:Date:Content-Type; b=oNOHcBC8IbZH8dwSOMbixz6ch2PaplkS3u+zSPxV6CWQv7uGubHt5PqkwqN9MhMLR 7C2gfPGEFSN4EK+oETIab0dtuNFlsC3iFcvfLufaG7mEzuso4Q9FJGuoe39A34LnCF nFiVVVqY1qUtGk76jwqpzeujiaSbDVYWs7xCy9/u8v0e2lzAJW5ymHmHdRW+LEAoTp 90HshB48bTg559aZWOvqhWyuOAOpxHR975QKDsRCkdSj+hE3w9gQAqh0JFXYEQgg7K gkUvujJ7VAtyC8igtghFSQ5ICQ+z92lCQlOxxmQkXo976c246+83+dk09LKckoZQve /Qvlf3N0qDlHg== References: <874ju7fe2a.fsf@polidoro.io> User-agent: mu4e 1.8.11; emacs 28.2 From: Peter Polidoro To: "(" Cc: help-guix@gnu.org Subject: Re: Using Makefile to run guix shell? Date: Wed, 07 Dec 2022 10:26:51 -0500 In-reply-to: Message-ID: <87zgbzdy4g.fsf@polidoro.io> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=23.83.209.24; envelope-from=peter@polidoro.io; helo=buffalo.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670427464; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=jNiwuzi3tO4bLNaELadqeJDKaHUfdU8oLL2Z38zxwc0=; b=sEygl1r0EkA9fUMpDfLVVEs756o5CzvCz3CxAvUhFNxzRIIq8hKi8+bjfdVqWaFQSCtoGP cVJJ4pVxqbIMuUtcWIPFyEEfLAFo7hvECoY/hZvMdI7lrCdq+7XuQv+rLeoEEiPJZ1egO9 PMfL4lSEOOlvE6H5I5qg4AI53u/2Uic7Fruo1/uPGcrADSv4QG/wUDnlgi3Ax8p528HGA3 XtVrRwPqcdYeU3ER6/6E3pDu9K8w5xW264wSkElLaSfhiiXhV9IJUb1DX3eZ5aLEj5H+SS Tppl/qWW271OgWGiR/EumpCzRIo1y6yyREGIvK0wYjcD9vECEXd27AJLLz3eCg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1670427464; a=rsa-sha256; cv=pass; b=j6h1yhSqUJ9vFgWqisitryYLx6eJxmSyCrZS2KoHGoOcsbGoUA9/kVN2OnxwQSjXHN/4HR b5/vyZzo7q52P2qP24rtgfW9qRODLjRAMOVEEk5z1PtB/PuakNrXld5RqoywcBrbThGfCG dSbUpRL9MjbQmyKjuHV/EWRdezH0yC0kq04S1NO5OryomP0RKKjvBb4YTPpWNjK9T803rC G+75kaqYBum8xfPPMz/abdLeyD4WDDybg2vj6uTC/5xwHM73QXR7pSjkKTyeJBFufKWeDF YzxeZ8mfC32L+/gFGPjnmW0AeHfhiMcjhHEJNNIpONRnvoB5pu1gAoAR5ipGgA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=oNOHcBC8; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=oNOHcBC8; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CED85383EE X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: hLmYlvwmRTPT > And then all you need to do is run ``guix shell'', and it will > automatically > pick up that manifest or package file. That works well for just the "guix shell" command, but what if I want shortcuts to a whole set of commands? For example, I might want a command to automatically generate project metadata from an org file running "make metadata": metadata: $(GUIX-CONTAINER) -- sh -c "emacs --batch -Q -l .init.el --eval '(process-org \".metadata.org\")'" This seems to work well, but I just wondered if putting a Makefile into every project root may cause conflicts for some build systems. Is there something better to use than make for such command shortcuts?