From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 9C765211ED; Fri, 08 Aug 2025 15:01:02 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 85243211DE; Fri, 08 Aug 2025 15:01:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fout-b1-smtp.messagingengine.com (fout-b1-smtp.messagingengine.com [202.12.124.144]) by atuin.qyliss.net (Postfix) with ESMTPS id 81AC6211DD for ; Fri, 08 Aug 2025 15:00:58 +0000 (UTC) Received: from phl-compute-08.internal (phl-compute-08.internal [10.202.2.48]) by mailfout.stl.internal (Postfix) with ESMTP id C0A6D1D000B3; Fri, 8 Aug 2025 11:00:55 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Fri, 08 Aug 2025 11:00:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1754665255; x=1754751655; bh=1hSHjRcKpw M8loAVO1iesNdxMdZ3fCD1An8cHaGOvq4=; b=A2AspdU9K4s+AtWNufQ1fDdgPg /ert/ijqnsNUf6QzeuiJecJO5BFADc4BNZCPxXl7doixpDr0vytPy3PvRWJ1658I F57hliD0sODMFEx11Uf6q1gXr9bK2+CMeUzC8inV4l1OcqtaP6R4ccQaPMpQ5ekd xLhdMvsbfmcsj514ZdL7v+7WmxYq1/orz6CvFxJ98Mz6JywQ6f0aPS2bDQcTa1/k 7BlYlVpvgU6hF23y6zNRs+p5BRvPacqoQMJLcqcwwwq6N+ZIPEkX6rGDvNd0p/jv y2qqHCBlzzReDz/tpLOuNslmMZlsZcnuzIVgPgqRdBEy9oNKIhOXCwcPwjLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1754665255; x=1754751655; bh=1hSHjRcKpwM8loAVO1iesNdxMdZ3fCD1An8 cHaGOvq4=; b=XdJrJUZpbgNtv/rB7gNiu5GdCyU/sXKoIR4iyR0b1glRMT8QNME yswENohPD9ULQc2+a70z4Is5IzSsGaebtBtHACppCOzGZ6PbLX7p0PYZZrbzd+1w 5M4WYivXXr19f4S1P3kGJSEXRzC6vt6ls6UjppxJsTxe8TSZkUSXfOYOjmO2nMHY XP2xuTt8GmHXn2r08Ndrtz3Ck4TUK3xkmnOS/9N+ZJ1z9eDljKRGYiZ8iDKAzLDg sKF66ssPux3T9u9hn0j+fElgSGacAVvHN76aZbDOQTWBfT2a7srXrs7btz51bnV/ sR+per6zxiLjqiUjJ5vttrxUtTOoOeOmhMw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduvdeguddvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvufgjfhffkfggtgesghdtreertddttdenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepvdeuvdeivd ehhfeikedtvddvhefgheffleevueeigffgtdffffeujedujeejkeejnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrih hspdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegu vghmihhosggvnhhouhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhessh hpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Aug 2025 11:00:54 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id 826BF12F68D8; Fri, 08 Aug 2025 17:00:50 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour , Spectrum OS Development Subject: Re: [PATCH] Add wrapper scripts to run make in a Nix shell In-Reply-To: <20250807-make-wrapper-scripts-v1-1-3f020195a916@gmail.com> References: <20250807-make-wrapper-scripts-v1-1-3f020195a916@gmail.com> Date: Fri, 08 Aug 2025 17:00:49 +0200 Message-ID: <87zfc9hn8e.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: Q6IUL7FSPMHXE6BGGS7WTIVDPWPEXOUP X-Message-ID-Hash: Q6IUL7FSPMHXE6BGGS7WTIVDPWPEXOUP X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain Demi Marie Obenour writes: > It is very easy to forget to do this, and the results are confusing at > best and wrong at worst. Add wrapper scripts that get it right and also > automatically change to the correct directory for you. I think you'd probably be better setting up nix-direnv or something. It makes it so that you can't forget to be in the shell, but also means you can just run make, rather than having to remember to run some other script. It also comes with caching I think, so if that works you'll probably save quite a bit of time over doing a Nix evaluation for every make invocation. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaJYRIQAKCRBbRZGEIw/w osA7AP4+HaPwhUTlorvcqVup9jE/HXPHHJR4YvOQUL50YTyT3wEA0LCPcXatPbU6 eGkNO8y+LVJAT1v5lfqFiiuwnTF4Agw= =Oroz -----END PGP SIGNATURE----- --=-=-=--