From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SEiRJA+RSGY6VgAAe85BDQ:P1 (envelope-from ) for ; Sat, 18 May 2024 13:29:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SEiRJA+RSGY6VgAAe85BDQ (envelope-from ) for ; Sat, 18 May 2024 13:29:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716031759; a=rsa-sha256; cv=none; b=Ffon+rAXBuCwozHa/KCtR6osfq684ZEkvaQgtLAUCgK6wdWl+85BCqYSDskuFl0WYd8itO NU+6UyHF5JqO8qd0HPg0MuOutkG4FpnIZi7a4TUCdWAQqMwBkyRJ4UDLUQxDzk3R7ftKIA SOe7ls65sUFzGDbK1U0vqXvLy9dZYeynLziVWKD9N9HW0IB7j/sDiMib6Evap7K1jD+bKx DbZUT4EkyC+aDZ9a0Zu+Jcph/1onwexyGsJXqV+QC4Xs6Q8pKXWiwxNkXkJ5mufuk2Hg7j Qwj7P/MgFkRkM2dyEOVLCCQyrtpRa9qhSoV7pjadfc9kH+ocXQbSnCU3p7j8Cg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716031759; 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; bh=0QCBqlfg+yLGBJURv/fAYo0adURp61t6XIsBZ1687dw=; b=s9ZO7ZFeHG24maQZUzsm9T9CrbcevzjotASyjuMxPtRa0x96+2/lT4r7jqcSeihj7upPmL 7dGXQ2uLrzv0mldKnMX2tO4uexvrC/eBayV59Ac0gJvZ/p3cAv1Uaamcs/jcp/JqGd6vPh DTA7efBuzMMIaA4RBmdm/AyfezPvyabYaq9wamXC+O+oiv6Fr605VDQ1y2xrI7V4h2bu10 +rke5CTO2tAINdb1RhqnVqLzSxYPkOefBi8zIjdUtTqgCnrfETZLLJ82HMqItKWNO24iDc om+1bzhtiY04TLwaLyYUmKtg6wwQ57GdtJPSspNfLRHJFHRH/UvZb/WYhWvvsw== 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 CE8E167F5D for ; Sat, 18 May 2024 13:29:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8IF1-0003mY-7q; Sat, 18 May 2024 07:28:43 -0400 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 1s8IEz-0003mB-Ps for guix-devel@gnu.org; Sat, 18 May 2024 07:28:41 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8IEv-0002NU-3X for guix-devel@gnu.org; Sat, 18 May 2024 07:28:41 -0400 Received: from localhost (unknown [89.207.171.92]) by mira.cbaines.net (Postfix) with ESMTPSA id E70BD27BBE2 for ; Sat, 18 May 2024 12:28:32 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 26b94388 for ; Sat, 18 May 2024 11:28:29 +0000 (UTC) From: Christopher Baines To: guix-devel@gnu.org Subject: How to test fixed output derivations in the bordeaux build farm? User-Agent: mu4e 1.12.2; emacs 29.3 Date: Sat, 18 May 2024 12:28:27 +0100 Message-ID: <874javcqas.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: CE8E167F5D X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.41 X-Spam-Score: -7.41 X-TUID: PCfD7PdaWMzK --=-=-= Content-Type: text/plain Hey! I'd like to do more testing of fixed output derivations, both in general and for patches/branches via QA. In particular, it would be useful to test specific operations in the derivation, e.g. downloading just from upstream. Being able to control this is also necessary to prevent the bordeaux build farm downloading a previous result from itself via the content addressed mirror or download nar fallbacks in fixed output derivations. I've had a look at the GUIX_DOWNLOAD_METHODS environment variable, which is looked at by the url-fetch procedure, but this seems to work by generating different derivations, rather than changing the behaviour of the derivation at build time. It seems sensible to me to add download-methods to the impureEnvVars so that this can be passed in when the derivation is built. As far as I can see though, the only way to set these impureEnvVars is in the environment when you start the daemon, right? That's very inflexible, but given most of these variables look like they could/should come from the client environment (LC_ALL, LC_MESSAGES, LANG adn COLUMNS) maybe that part of the problem can be addressed in the protocol/daemon. Have I missed anything? Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmZIkNtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdSdw/7B1A4rjzLIVbzqWD6M8PaTSXVlZAzfneR nuHredwgEWwGl+1kGlgaactdcoqYeexuFZhpnbzE7uR+HF1zpaCTi30SDpLTlZ3v hZBccojmGKgNk7pR5goMJjohROSosKRFOwk4PsFpeRE+RC3EdaX3kJGqwxco0lqG VCh5+ZzPGqtBlCc33XO8+v07KMLBmA4PUURA8KrOf70iI3qdlZkXfpdHOM5IjM/k nXe+apbN25usV+iaxMrpfd4PAwj1E/ZiBc17SFqR6RgiqcabM1ROLb4HfqFa8Dvd aRHoGgWoijV5meZ1ptL/XvB+zMagawfK3NIi7NWDv8esfbv90UlOExykT6tsRAnm Pdm8r1zGJGupluwKz6b60iufDmSRGpEUUjhnz+FJRJc2/3vWPT3pAh18R4qsLYyO g/6+3ssqn2KA1zPEejh+eNlGTcwdyonk88Rir0f4ogdmR7hJUhQ2ttWfVkE9CiPs sFVBx6Pbn3bkhk1LRctxpTYFMMhwrsyvuGqoZTtJCRleiZU0vtIAqJ7SjH+cZOZN IMzQilWa/TBy06M2DMrbM7HFST4xstvOvBsPZzRaSywdkJuxAFsHoE9dRriAuAPc ehT5y/RWpjVq8kQXp56HcwGKhp81mh51OPUvd1vSv5X4gG75A8rlB2IbTH49uvcb CRswrWYuNBU= =9m7s -----END PGP SIGNATURE----- --=-=-=--