From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 mLaXFJFruGJVCgEAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 16:22:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SI6YE5FruGJXogAAG6o9tA (envelope-from ) for ; Sun, 26 Jun 2022 16:22:09 +0200 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 EC8A91052E for ; Sun, 26 Jun 2022 16:22:08 +0200 (CEST) Received: from localhost ([::1]:44604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5T9M-0001nw-1m for larch@yhetil.org; Sun, 26 Jun 2022 10:22:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5T9G-0001nn-NG for guix-patches@gnu.org; Sun, 26 Jun 2022 10:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5T9G-0000WZ-F9 for guix-patches@gnu.org; Sun, 26 Jun 2022 10:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5T9G-0005Bb-Bl for guix-patches@gnu.org; Sun, 26 Jun 2022 10:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55606] [PATCH 2/2] gnu: Add hare. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Jun 2022 14:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55606 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" Cc: "55606@debbugs.gnu.org" <55606@debbugs.gnu.org>, Tobias Geerinckx-Rice , Maxime Devos , Liliana Marie Prikler Received: via spool by 55606-submit@debbugs.gnu.org id=B55606.165625327219874 (code B ref 55606); Sun, 26 Jun 2022 14:22:02 +0000 Received: (at 55606) by debbugs.gnu.org; 26 Jun 2022 14:21:12 +0000 Received: from localhost ([127.0.0.1]:48477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5T8S-0005AU-EV for submit@debbugs.gnu.org; Sun, 26 Jun 2022 10:21:12 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:52836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5T8Q-0005AG-8i for 55606@debbugs.gnu.org; Sun, 26 Jun 2022 10:21:11 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4LWChG2fMjz9sTD; Sun, 26 Jun 2022 16:21:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1656253262; h=from:from: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; bh=qS37vywoxPAFCvYGK49e17fZuHpcz+efxVRUEs6AI1c=; b=w6gTJa2QXoqD3EjhTcP/Ne5p2FAIY/D7IoXnLM5ci0UMf9MU35j0A/5S+WgDIh10E/sKQH +Tbcz4NBlr5L+WP9mvZMkWT7q3oQzslriZXiuYia8Wf9eJ9sLjirAkoRRUhuCH9o9IWDz6 GJRF2PiXU356cqkMgHjGRCazc4fp2TrJAEinNdQ8tr41LQx9hObalX1cPgxb6z9xXA1kJa pFb9VzCznbPAh+LbvA+SrA9RpMXcBNex30Otj1qW2psvubOEraGhlBIUP5qCsLxerPn4Yb uVEMtoViLDX/Ph1NbbBeC1+aNrXG7u2gEuz0Xmn1/gbMxG4xYYwum2GrR1doBg== References: <1494793954.947626.1654278890520@office.mailbox.org> <0f62a23e7014fa02404683d144bbeffa52732ebc.camel@gmail.com> <87v8so81lg.fsf@mailbox.org> Date: Sun, 26 Jun 2022 10:07:28 -0400 In-reply-to: Message-ID: <87bkuffquv.fsf@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-MBO-RS-META: 8nmeyd617f398bgdrxpj8n3qxeth9f4z X-MBO-RS-ID: c11c5368b53a17a91d8 X-Rspamd-Queue-Id: 4LWChG2fMjz9sTD X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656253329; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=qS37vywoxPAFCvYGK49e17fZuHpcz+efxVRUEs6AI1c=; b=aTAfwt0NjuWLCZTCkMSqCIGjbDHfVdceOkcoJrlHR8VWQ/vgw9YeYGujj8TQ+Tek+YBaYj Q3jnSSsISuCB/Ds++GtY3B5QvQvF0LEYhy0KbZdqGJ8HcRdFezbuh29neLsewlddEf+2hD o8gPXblcCxV0fUYDrBjIY3sMeTXYP6P9CM/lRLvUJq2YZ6yykKXLG2Br6SpX0WpL1A/If6 vP0NblpwNVy8rtV5nNtZPb3RGQX0x6fB1pF26yekhaQnD4uY9DlZEAGNAeuzkSX2P7V8oa mBYmDbUJ/hueqpXih9JPlH24blLlyx0DvetkjxfZb+Os4qkXybNFF5WaIyFqEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656253329; a=rsa-sha256; cv=none; b=Rqm0hiTRU0qSdDKngc3iOYMDsJa+piHKid+6C/sivApcRX6ARhkEB8Y+zeSD5YLJ8dFHWJ ziqhZYsm7MMAnvX9FfyY4IvVXmJ24ao62GIo5Zn4UzrylC8oASu5axIMnDViD2ZzyMd5al qmCLTNLTXWWIFRbUox8pUABIBXBGZw3lmuE2TOllO3yKLK/8TvcYW4q76L/V0mizP5XOKg RPV/oBrG92oiQo+bMD5gk6icK1JzFIHCV+01Twiu1O9eHyFFucgezG42yvePuqPI6t+Ovr 2K2rhwnVD3MCo/Rxsae95OvM9eIXLGX0liiMnaT6mHF5fceRI9oTCzcSUTwzsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=w6gTJa2Q; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=w6gTJa2Q; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EC8A91052E X-Spam-Score: -0.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: PdHlSWh5O1V9 "(" writes: > There are a few compilers where intermediate build programs aren't > included in propagated-inputs: > > + neither ldc nor zig include ld or as (nor the llvm equivalents) > + neither nim nor ghc include gcc > > I think it should be fine. If harec/qbe are not installed, hare raises an error saying that it cannot find the program, so users will know to install it. So yes it should be fine, I moved those programs into native-inputs. If we moved qbe/harec to inputs, we could patch os::tryenv in schedule.ha to resolve to the guix path. That way the user gets a working toolchain by default, but they could still swap in different versions of qbe/harec using the QBE/HAREC environment variables. Let me know if that would be preferred over leaving qbe/harec in native-inputs. Thanks, Antero