From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id Oz2eHbZXkmOfEQEAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 22:31:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eDutHLZXkmNmWAEAauVa8A (envelope-from ) for ; Thu, 08 Dec 2022 22:31:34 +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 45F0EF32F for ; Thu, 8 Dec 2022 22:31:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3OU5-0005OF-12; Thu, 08 Dec 2022 16:31:13 -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 1p3OU2-0005O1-3V for help-guix@gnu.org; Thu, 08 Dec 2022 16:31:11 -0500 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3OTu-0003pW-IN for help-guix@gnu.org; Thu, 08 Dec 2022 16:31:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jW7IsvfwXBo1T+seHRy/tss79vMRGqqZ10U1iwrldr4=; b=t27+gJ8t757NyUZDJNBJP/+1QK AH+gqnYNL9pYIZzFB9K/LYdv+0JOTviuWUn89YWSQNeOD0zWc+viBBx7V4HNxZeRoXtOQLJNloXrU HwlIHhIkzuNT1tyqz+k/GvsNHprFJ1Fu5aS8EqrQHuNvN5uAPLtgwHcxGcZw/RV/2xyS8xGgnbswF DJWNYaiVzo5xvuMPUqvIfqQdIx8GqZK97JGof/KbGwRU2Q1ojpYtFwC6q4/3GPW5X/dGiVy5UnO4Z IJNTZy+nMYbTodql0ISY+1R7nEfuh7Qtl93tFPDJBtRa2TMmhhEs756U8h6FoZo/4xeRFea7VaglC rc47fnDpMXp7y8C9m9zJQySgraAf4wFodJX9N4Bx1Ra0ZK6UqgDnmwoiJyW961J0FUaK3jZLyQvyv fjpWAuMQ38rqNK6tlVMgIxFEDXrY33CxU7NzapGQuu2mkqCHVa3SnS9FoVkU7bVTHeJSCvbbCxBxf oAVhESMokAomOUBw/oF9HnpX9LXWJLFVd0DoHq9fVX81XayVRtF1fmCEGEl2Vkpw7UXkESNt4jMHk k5XpLU47WG3ZuLTFfJfWv6VNO26FBMW3luBGxfKwloOVIWtWP3jUERoSpBDZgF4EsW0IWFBHC0UjI hiy5wNv+My9Mqev8NFIpxu1L4v7XN8276QPfuFFAY=; Received: from [77.252.47.239] (helo=koszkonutek-tmp.pl.eu.org) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p3OTj-00062Z-GM; Thu, 08 Dec 2022 22:30:51 +0100 Date: Thu, 8 Dec 2022 22:30:48 +0100 To: zimoun Cc: Peter Polidoro , "(" , help-guix@gnu.org Subject: Re: Using Makefile to run guix shell? Message-ID: <20221208223048.00edc36c.koszko@koszko.org> In-Reply-To: <86r0x9g2bx.fsf@gmail.com> References: <874ju7fe2a.fsf@polidoro.io> <87zgbzdy4g.fsf@polidoro.io> <87edtbdpmo.fsf@polidoro.io> <86ilimgop6.fsf@gmail.com> <87a63ydk95.fsf@polidoro.io> <86r0x9g2bx.fsf@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/o5hC56NITedZjt65IWM2tbN"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org 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, SPF_HELO_PASS=-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: , Reply-to: Wojtek Kosior From: Wojtek Kosior via 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670535094; h=from:from:sender:sender:reply-to: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=jW7IsvfwXBo1T+seHRy/tss79vMRGqqZ10U1iwrldr4=; b=ejn02d8fkU3rV+OF+mqetQ295S37c+Q4WgCN2XOZ/9vE1xNIXPIoYpewGtdDwZEIi5N4HZ 8u2ZdYYQq3lV91XvDlzUe6Wgsr2FSnEhY1j3HvbMekmlu59O4ngril6ezR+qSWPPU3ItPC kWTtguLoShj/mj849Qe+Lgr5cziz2+164wW0rG1+yKv5y0SNyR8BQtn6o4zyzi0AL4+W5T r043A671ppt5nOqnQZZVYN9qibxrVYJRs8vqP3JhDtwtzeRpVQNs6s9wErn/FyjIRx6JKv xg5lk+3PHfRG4KfpwbbfbuIKitL8Lp3KYdWxKCSp/IHj/jbhvT1Qv7j4AST2ig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670535094; a=rsa-sha256; cv=none; b=ml3o1AayR4l7bru3V9/qq4qkOSHL4FWcvj/Dve86tleHGCeLbizybzFTcVMHz3Ru/sMGg9 NqotagmnJtqpCUWkUy86KA3kISQxUGaVUG8OVEYrqnwW8iO47Dvcz6jv9KYLSXoRVm/fSc gTQ2SU11f12Nik8OIF8c3n90PeeRGZ8gvY60481X1x/zmHzyvZTnyZ+FZN3efIP2aYdk+h ljmq2sI5Y1KMYBu+0p/viEzArWIQzavQ/uhCPY+e9ACvthIhcsYipPpjDCHmOtIsFwYEGl 8d9ZoJxnH19qchsLSG+C4MyOpV8tnw0hugl66qsDk/M7c4qC/U+6DkUxfkRXkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=t27+gJ8t; dmarc=pass (policy=none) header.from=gnu.org; 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.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=t27+gJ8t; dmarc=pass (policy=none) header.from=gnu.org; 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: 45F0EF32F X-Spam-Score: -1.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: A3cIq4bQk7JP --Sig_/o5hC56NITedZjt65IWM2tbN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > ifndef GUIX_ENVIRONMENT > todo:=3Decho > else > todo:=3Dhello > endif >=20 > stuff: > @echo "Enter stuff" > @echo "GUIX_ENVIRONMENT: ${GUIX_ENVIRONMENT}" > $(todo) > @echo "stuff done." >=20 > hello: > guix shell -C hello make -- $(MAKE) stuff >=20 > .PHONY: stuff hello > > [...] > > Note that the Makefile calls the Makefile but since it is run inside a > shell --container, then you need to provide =E2=80=99make=E2=80=99. >=20 >=20 > Cheers, > simon >=20 What is the purpose of using `$(MAKE)` over just `make` in the recipe in this case? It would only be appropriate if you wanted the same make to be used for both the manual and recursive invocation, right? --Sig_/o5hC56NITedZjt65IWM2tbN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCY5JXiAAKCRBLxSIcWnn9 Ghz8AQDC9O8dEDBMsI+yH+Ncq7GemtwqxhML+6I4N7D9hcl83wEAhI2Nw1tgehix XykwNUWMto19mIEh9l04QJlpvZ6RlAU= =51T5 -----END PGP SIGNATURE----- --Sig_/o5hC56NITedZjt65IWM2tbN--