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 UNKVBphtkmPKfgAAbAwnHQ (envelope-from ) for ; Fri, 09 Dec 2022 00:04:56 +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 +ByFBphtkmNTEQAA9RJhRA (envelope-from ) for ; Fri, 09 Dec 2022 00:04:56 +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 E0D2B35F99 for ; Fri, 9 Dec 2022 00:04:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3PwP-0003MT-GV; Thu, 08 Dec 2022 18:04:33 -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 1p3PwO-0003M8-0h for help-guix@gnu.org; Thu, 08 Dec 2022 18:04:32 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3PwM-0004az-Dr for help-guix@gnu.org; Thu, 08 Dec 2022 18:04:31 -0500 Received: by mail-wm1-x330.google.com with SMTP id c65-20020a1c3544000000b003cfffd00fc0so4601050wma.1 for ; Thu, 08 Dec 2022 15:04:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=J3JlmXGTLKSmx3GV/CIJwSxnveqWA3TT3JKPraSD/Rs=; b=LjXSyTiLcx+W4aIDggTjWnot+4qXgR9OtjI4Case3Q8g0MOibEwHPmYpr4NjtEgVmG iWlh9t5SW9KSVw62TILLnu54v82+qWSLeB2LphsHb08M952OxdKKG423WI5s4y9ZVY99 nkWNLZTzGS8v6MTLm3pyKVCDi0pJoUiIXfx8ZOIftQljsE1F95Nohc67qaTAeytVLUqF 8eGil9wkqHrYlHkCS+ol7Qp1ETTRuIFfswwLr3WdeqTEg9YrXefFaUAxxbIVq5omsJia 8U/dOlyLiEFLhPA7LY1uo0ZaMjVXvItdtY5ulfGAYbfh9vd7xvJc9EmN24Q66TpbT4k+ GGwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J3JlmXGTLKSmx3GV/CIJwSxnveqWA3TT3JKPraSD/Rs=; b=0E4Ddi28IjaXYf8AXlJeS/Iy6eyZR1EkdwRuDTkxmZyqtVj2fyErkii+dLW/oI3X26 IYlU1r/Y8pPcoOXgkeMY9hjaS9Uzfs6JcwHbCKdklLK04+KcEpqRIK5EjrsxVZ4eKivv MrJzh+ffj48Ms2HsiWQxg9xP8ogxcakfuiDWLH+qOkrek3SKv7CeEz6U9MjNeq2UAE17 oBoUqOCp2nVyLgnWWsN5C1BU2AiYg9rs7aiHmIFMGaDSa2fNfWq1gbAvEJQDNwO47VK2 wk4csrHJA+L5X0ggNUl5iaf5AUXzmQrv9pAP0MRlHHJvqPf2gvIaioUbNidwFX8Wnbno K8ig== X-Gm-Message-State: ANoB5pkI572UZk4a4inVyK3YUFAiTXa3vEggix0jIydpk9Daqyx++zsM /6NF+yvvqcsDQ0qg8S2MHVXnndPuU+g= X-Google-Smtp-Source: AA0mqf7Hh0ZAryNVnyrqAv7mIL33C9knTK7NyVVRGGnx3y5Pk1IzrMr4NNNJr8yd2OIWpWfiL/RauQ== X-Received: by 2002:a05:600c:1d16:b0:3d0:51b3:cb32 with SMTP id l22-20020a05600c1d1600b003d051b3cb32mr749778wms.4.1670540668554; Thu, 08 Dec 2022 15:04:28 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id p17-20020a5d68d1000000b002420cfcd13dsm22799592wrw.105.2022.12.08.15.04.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 15:04:28 -0800 (PST) From: zimoun To: Wojtek Kosior Cc: Peter Polidoro , "(" , help-guix@gnu.org Subject: Re: Using Makefile to run guix shell? In-Reply-To: <20221208223048.00edc36c.koszko@koszko.org> 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> <20221208223048.00edc36c.koszko@koszko.org> Date: Fri, 09 Dec 2022 00:04:17 +0100 Message-ID: <86359pa45q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x330.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670540695; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=J3JlmXGTLKSmx3GV/CIJwSxnveqWA3TT3JKPraSD/Rs=; b=GLiSGcNHA9QvxfS3sESqCC7+N68gxzVjq8D0XNMc2nyRy5kMg7KQ7EHBd5GKaQy/d6sZN0 VOOmYT8buaUgjlYnkucKZ/HrPE/cKL1uImDXeojEMe812Qj/AXFTlwKybMr7E4wisryyGx cCnNYQn7kj+0oc79STjYvrYmnJYaWmBk0c3jZqiDcoXQV2wEfXzQpgTs5zi3F4sv0CoNV3 kwCPWN7LPXrjMln8FBtAn4aVWCm5ZtOH5Nb2EA/eI3MPYJXKhC3GaG2LBzRRKSrZ84IpGw IIpFeG5UoUgxAlMzUElGVHePHuQThlyQeYSYdWIKTXn2ZPd5WykXuuPko+0OAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670540695; a=rsa-sha256; cv=none; b=E/MivgLd21neDT5UC7Q7CaQ8H4+5bXaGTPyAQ8680yMElbVDYxaFxoGvxHZ0ARnwTlpnLY p2pAz2JQUqBv7aNT1ljnFeRvZ0Z0SNgOvuZlcqAHDPGUrcSsQXSn0Lj5gPTh/Ok4nudeko 4HGMfmYz6A2XgAMwa06xoscNU0uJwcl4AHG8cE3xcp1LSxw+Qovslg1CwHaDs9C9wRqO7U AIdS++PhjfJpb1kZ2W1vp58vMgLFydJrOOZFXkMra1t9Ls9AwS499PgX+y5Gv8U7DaObLk qmScus9Y/a30bXDXlvUthU0jQPzScHazZeBTKWcrKugo9zwIvRRAjtn3LzceOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LjXSyTiL; dmarc=pass (policy=none) header.from=gmail.com; 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.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LjXSyTiL; dmarc=pass (policy=none) header.from=gmail.com; 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: E0D2B35F99 X-Spam-Score: -1.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: +9GAgWZxMmlk Hi, On Thu, 08 Dec 2022 at 22:30, Wojtek Kosior via wrote: >> hello: >> guix shell -C hello make -- $(MAKE) stuff [...] > 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? No specific reason. Initially I wrote without the container option =E2=80= =99-C=E2=80=99 or --pure, so really recursive. But then I checked if it also worked with the container option =E2=80=99-C=E2=80=99 and let the old $(MAKE) invo= cation. In case reader is not convinced, here $(MAKE) does not refer to the same =E2=80=99make=E2=80=99: --8<---------------cut here---------------start------------->8--- $ cat Makefile stuff: which make guixy: @guix shell -C which make -- $(MAKE) stuff $ which make /usr/bin/make $ make stuff which make /usr/bin/make $ make guixy which make /gnu/store/dp8bar2xgzwz1yfm9lcafqn3vhs2cjqc-profile/bin/make --8<---------------cut here---------------end--------------->8--- Cheers, simon