From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YqAoCte+k2X8RAEAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 08:44:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0PxLBde+k2VchQAAqHPOHw (envelope-from ) for ; Tue, 02 Jan 2024 08:44:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=Mv7lA8Pv; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704181463; 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=Ew6jZq++FMbqpLg6z5aOpXFqJEv/82qXdmRKyAHlDhI=; b=ZxuDBJkEsnfXarSeHTf7zPQLSkbiCcDlxvFxTxMKRrsDgu6NmQOgeTbX0EXCWizVa2Q2NX x9NqIxXL5AuG2vTcpE16rImwwPU1+bwknS3DhQRwaF/J9G08ORPwixvNj1x26ebDTlGw9x oLFDF5F0MUDqxFkKbmQga2iinIMbTEHkAWku3boTiJgTrqNE0YY5zXOles/+mG0jKBx4n/ bRN/Dr2TvTv61+HpontEVYL7/Lyc2wcpsx5toNRH47JrAi08B6QDWtG4lAFt5bhQlGJO75 njUQ1QjDSwb2sRt1HuRoLjc9bKEv0s8kEKj2L65nEtftyLpnYF+SZPOYYkb9QQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1704181463; a=rsa-sha256; cv=pass; b=KRUHk4ap6oSNqlJ8gOAQ5VfIVs9rMC64eQlrb+u9gFlDJeuAlm0PZysYdkyz1AgWMmR/b0 KDeJ4GCh38ltqQr/3tS5R2QrTrQnrfzKZ6jRADQE2HTwZiUFHmQCZxR2PJJa/HyqzlrPvP lRgeOqjxU0fVxMF/ujnMVbP+y7la6DyyNQuswd0yFi261fT4EO/3QbQRre3tRq59pxGVjG PlKuCTu3qTW3tatB3wj1TWIga60RuEvjiQkXjjnDClnW/kLoaKaWHXq2LXQ4gxMavdGQKq Tv/G6A94XhFqo+nOaer1Uz/2YyI/iTN6pqJun4ideXnzv8+WfpeOkaAu3c9xcQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=Mv7lA8Pv; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") 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 EE10212461 for ; Tue, 2 Jan 2024 08:44:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKZRB-0001xp-0B; Tue, 02 Jan 2024 02:43:45 -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 1rKZR9-0001xa-SM for guix-devel@gnu.org; Tue, 02 Jan 2024 02:43:43 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKZR7-0007Nb-DV for guix-devel@gnu.org; Tue, 02 Jan 2024 02:43:43 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1704181415; cv=none; d=zohomail.com; s=zohoarc; b=E82ekbfDz6PHbVcIQ9ijH7omwofWSMoUZ/oQPXPlABBZxDIZ1EPoklJ8H4DBoDs2nTdn2ciXoVuShwlNTh1KercOQhIw3RSo8TtgOy8yxSpXZniKb7pP1QU22iVHEAvlC+MbcIBXJcwjDET8SV/ee9Sd70YBwGzgcd5SMs3HqOE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704181415; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=Ew6jZq++FMbqpLg6z5aOpXFqJEv/82qXdmRKyAHlDhI=; b=eLSefTnebLxSWQ5fYImobaDXUi/Hl20e2rRkliRYxZwt2M0Q0dHW2Vh2fbAvGkEjW9sJSzxNhfcSFgvp8HUvOXF37zepWg/itgLn4wFA+EMw9LzAl/pUcHUlva5h9574pHEgxGFwj4f4q0sYLmp5Lmja++joqiOnaeEH5zjLil4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1704181415; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=Ew6jZq++FMbqpLg6z5aOpXFqJEv/82qXdmRKyAHlDhI=; b=Mv7lA8PvfWN5ms9Y9EjlWhrhatueANBmy+HxFdSQ2aRdTQvnPb65nRgxejQA5bKW ZtJykzO1C4iHojVMvAy0phbsEQWqxMagJaIb7mp2G6zW68zmYSRd3fHqeOxmRnHf7/x /9TE1jcNasQsNqMRP+uDB2fBRVlxqH2RRty3WzqA= Received: from localhost (i5E862C7C.versanet.de [94.134.44.124]) by mx.zohomail.com with SMTPS id 1704181413658467.44424420710527; Mon, 1 Jan 2024 23:43:33 -0800 (PST) References: <87o7e42te8.fsf@lease-up.com> User-agent: mu4e 1.10.8; emacs 29.1 From: Ricardo Wurmus To: Felix Lechner Cc: guix-devel@gnu.org Subject: Re: Separating test inputs? Date: Tue, 02 Jan 2024 08:40:26 +0100 In-reply-to: <87o7e42te8.fsf@lease-up.com> Message-ID: <87il4cji3h.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.87 X-Spam-Score: -8.87 X-Migadu-Queue-Id: EE10212461 X-Migadu-Scanner: mx12.migadu.com X-TUID: wU+NedIHbZBN Felix Lechner via "Development of GNU Guix and the GNU System distribution.= " writes: > In Debian, test prerequisites are annotated awkwardly with in > the build prerequisites. (I think Guix calls them native-inputs.) You > can see some of Debian's funny notations here [1] and here. [2] Native inputs are those that in the context of cross-building need to run on the host, not the target. This is not just for test inputs. Note also that the presence of test inputs has an impact on the build itself, such as the configure step, the number of build phases, and even the output. In short: without tests this would be a different derivation. That=E2=80=99s what we do with the =E2=80=9C--without-tests=E2= =80=9D transformation: we generate new derivations where tests are not run. We probably could enhance =E2=80=9C--without-tests=E2=80=9D to also remove = some inputs. --=20 Ricardo