From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 qPEKJGmskGMpVAEAbAwnHQ (envelope-from ) for ; Wed, 07 Dec 2022 16:08:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IBZVJGmskGOryQAA9RJhRA (envelope-from ) for ; Wed, 07 Dec 2022 16:08:25 +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 33A0F37066 for ; Wed, 7 Dec 2022 16:07:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2w18-0007wX-CE; Wed, 07 Dec 2022 10:07:26 -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 1p2w17-0007wL-6Z for help-guix@gnu.org; Wed, 07 Dec 2022 10:07:25 -0500 Received: from cyan.elm.relay.mailchannels.net ([23.83.212.47]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2w0v-0003uH-Ud for help-guix@gnu.org; Wed, 07 Dec 2022 10:07:24 -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 24BBD3C265F for ; Wed, 7 Dec 2022 15:07:07 +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 16EF53C1D88 for ; Wed, 7 Dec 2022 15:07:06 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1670425626; a=rsa-sha256; cv=none; b=APx/1Lu6TawMoAI+l8xNkK+eZgLDDIwdAj9BfqiADqcKse7sVDNCplbu2QiECR3eSFkgAX Yr3GWp2Tk906qwvB9+cNZoLN9dpDLd4vIrD4z9cJnEvWtVuiDrOd28OEcUkX3ZhboXHi0p cJZnCJc2SuuWdVmgK5aP5qE9SHxL/uK7cYu9Rtung+/L3mpzC4Y2kyUCYrDeIMnbojpOcW WNNiMZe2qbJqwFSWtQIXF81JVTSBFxhMj1A+w9pSs8iGt05CA194gI7qwJ68hV4Xk98YjJ MHzapfFYy5mnH9u6OMc6rXeT++7eWHHZkjG6Lyt66A2OxNDsWFWx3kEPVEDtQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1670425626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=ZcVPfoiA/bFtSt7XtVLJVqa8pQTdLULzkaBJoxhbB9g=; b=w8M/L38FFsW7ye+HCBvcAkBFuOUbU5lkwa5Xn7BTBHgI8EtEAJzLhmM5SztxMFLGf/M7Ka LF1i3uTezo7k8ssNe276+2zPBRh/BKoZO2elJGyWCQCtD+/wY8o4hd3IBs4PYOS1zmfPTS lSawBJQwXFgm4Jme38n3WqNFKCuo/2sGd8c87EQJXEg8iyeEu+MJueg56PASBFTTm6scvW 5WggH/uO6IzFyxbPBLo3i+pFM7s/m/PCC7cPNK2tLJ03FJWSYy5TAttBPV7NO+4ug3kmYO 2pYCJVUDCwLy3sG3+6MwAOiUgDHoqGJQJ8OF7NnS4U7EU4NeKfsCp3aQ1dB90w== ARC-Authentication-Results: i=1; rspamd-85f95c7974-678fq; 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-Whimsical-Duck: 03fd7d2111a1295d_1670425626430_2098668136 X-MC-Loop-Signature: 1670425626430:3503733103 X-MC-Ingress-Time: 1670425626430 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.116.179.114 (trex/6.7.1); Wed, 07 Dec 2022 15:07:06 +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 4NS0xj3QRFzbc for ; Wed, 7 Dec 2022 07:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1670425625; bh=ZcVPfoiA/bFtSt7XtVLJVqa8pQTdLULzkaBJoxhbB9g=; h=From:To:Subject:Date:Content-Type; b=nziFTrAjdcqTzIUfF1v2DH02wMW4xsSbCMwpdb0uxHDAdr0l7+TzI/CVPxCf0gf1S WHC75uCHkpZQsZIV5o4UKXHbiGEA9ajAnSm1hRF+wkek/Vf8PcEsQ7aaiMFKTLVMBV Sik/y8+k3wf9DL6CdZ6DnKrWwCAfVzb3gpX7GvalcZaFCLHrp+49Un2d5tI3nRKqt9 pgDdAM9qdvb0zMlNVF9QBz1khHGw69j0ew+Q1uw0ZImLlsUf/7aljsu/qqK8R00OGV yknVkJMhV+a34npUl+9+34EB0KqGgsZdNFikCvKYfXFB0XG4pWzZwckN+3OqJX0lu2 hgP/n9nyIKCOg== User-agent: mu4e 1.8.11; emacs 28.2 From: Peter Polidoro To: help-guix@gnu.org Subject: Using Makefile to run guix shell? Date: Wed, 07 Dec 2022 09:47:16 -0500 Message-ID: <874ju7fe2a.fsf@polidoro.io> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=23.83.212.47; envelope-from=peter@polidoro.io; helo=cyan.elm.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=1670425675; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZcVPfoiA/bFtSt7XtVLJVqa8pQTdLULzkaBJoxhbB9g=; b=emLIHQfR45yDRVMvwhOMpUSKwXY4hgQ3CFSkAqDH1e34MlkpX9SE3+ouk57W7G957INlYf JfsLEFdgWSItv/AbGnt5eF2i3VJVvA03Nrn1sB5zOkQPTGyTT5qS+p7VKG7Tdx9OPGfIJl iNM4TDWpAoT5IsZF4yfPP+DND73IDQ9DBuB5yrEyf+anUsTjcP/nTQatSfxZYH9e5K+Acz uoagVZTGBdY0WL6aX2ab2ApL7a15Ik48VsvT1LEVuiQx8jAzO16CAjLZ+BP068owAhDcap eKOvipG568Bos++6ouDLyZSglxS73rm1rP7QmlZq3TWRmPUmAP2mA5ckelyUSw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1670425675; a=rsa-sha256; cv=pass; b=OHhZkL1fsST/3fOe8IRj21/gOd7VKUe1/T57AkqUCMmpPFwSSsc0+mNvtBz/iPqtrYF/Lt aKGHhcZLt78Gd6ZOx0Q+q3r21mvQs2u2GNklkXVfc4e/f8V7shbWqmyeKn2coPLffS3mDk 30//qGSKkqlyAhBT6RtBT2oiDTY0BjmjHvzSmPOBYbXuncTo4xxumTphMMyhAGTx9K6d9q 8NmilLI2X/oHdn0NQWT2OSF1QporlJwJiyhZN7MLf1deNpWtfXNWI04CSkPeurkovTWhPu AwTIjLlNawy7bNTcN9TIEy/CMvieMfCHnX83FjmZzphz0rLNPeuf+96f/3rOTQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=nziFTrAj; 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=nziFTrAj; 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: 33A0F37066 X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: GMH4cPkXnGYR In the root of every project directory, I now include a channels.scm file and a manifest.scm file. I was using direnv to automatically launch guix shell, but I wanted more flexibility to easily launch variations of guix shell. Now I am also including a Makefile in the root of every project directory so I can use "make guix-shell" or "make guix-container" or "make project-documentation" etc to quickly run commands. This works well for certain types of projects, but there could be conflicts with projects that expect or automatically generate their own Makefiles. I could use a different Makefile name for my guix commands, but that makes my commands less convenient to type. Is it considered bad practice to use make like this? Is there a better way to do something similar?