From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GCklAzsx5mTiKAAASxT56A (envelope-from ) for ; Wed, 23 Aug 2023 18:18:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eG0XAzsx5mQ1fQAA9RJhRA (envelope-from ) for ; Wed, 23 Aug 2023 18:18:03 +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 8ACE946B38 for ; Wed, 23 Aug 2023 18:18:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=iiTlW2zA; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692807482; 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=GxwF7VMSHXBMRVpd3FW7xaqkqB0bEVEwVr8ULzll7vk=; b=GZdTOlfHjx90q9YRQp8pyFLryclIU+w8LNe+MTz/Kwp+z9ejVVHtuQ5rA9q+qIDqogMkFm sYj5SNsu5ZUDpkQN6bUUbSljm9S/wjXnBUMwc1uX0Umqtjcqvcj4j7P6JZYdahaKhgVaCl fQA/LA5fquldbAJA0eM7hdcSWLEbEmhwyMdj0NvI+4/2KlBwwYGIozgAm02NheGxEzSfN6 +7MJ1faX4vG4MHJQ7hY1vrVIQRVzuaGhR0BgTh0jF5tuywFvD6CJOqlRRdZE1HVTw1OLDQ +EOZj00PKn8Y1A9QicB7skAK9nIZH2C9WKqn0Iiku4P68AU9QaRpPs4zgiXsww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=iiTlW2zA; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692807482; a=rsa-sha256; cv=none; b=gjZsSS2UOlTcIXxn+I2outxftkbTu1UUe4mYDHSa2B1YsWD/8WfFDqNcH6inYfP1thotlZ OaRz5jZbmA8GFLzEp+EH70mmyl38b5hZqjdxU8k+Ec8kJa7UbwWsWh3QUe7zG10QxBSrkx umFZbhrICYGGSKssWEHDyTrF3aWK+wxEiZxf1Gms512u+p30qFT/mQ1xB8VWuP3ANE/k/0 SI4AVvdOJFZCZtDTpeR728ECo+8JheOxNC/3rEGPC4SRhxSSanA73Jrb+W7ENOJy5+kjfB kkK0AbsCI6R4AAecLHepTMQYNnvz5aO81MTJJlHWcuGjgLilHDIzZj/vKDY4Qw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYqYD-0003is-Hw; Wed, 23 Aug 2023 12:17:45 -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 1qYqXT-0003hn-9f for bug-guix@gnu.org; Wed, 23 Aug 2023 12:16:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYqXS-00083K-92 for bug-guix@gnu.org; Wed, 23 Aug 2023 12:16:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYqXV-0000Fp-Mw for bug-guix@gnu.org; Wed, 23 Aug 2023 12:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65460: ghc/ghci are broken Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Aug 2023 16:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Csepp Cc: 65460@debbugs.gnu.org, paren@disroot.org, Jonas Received: via spool by 65460-submit@debbugs.gnu.org id=B65460.1692807385922 (code B ref 65460); Wed, 23 Aug 2023 16:17:01 +0000 Received: (at 65460) by debbugs.gnu.org; 23 Aug 2023 16:16:25 +0000 Received: from localhost ([127.0.0.1]:34969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYqWv-0000Eo-4b for submit@debbugs.gnu.org; Wed, 23 Aug 2023 12:16:25 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:54070 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYqWs-0000Ee-RC for 65460@debbugs.gnu.org; Wed, 23 Aug 2023 12:16:23 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 39FE4340160; Wed, 23 Aug 2023 18:16:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1692807394; bh=GxwF7VMSHXBMRVpd3FW7xaqkqB0bEVEwVr8ULzll7vk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=iiTlW2zA+orRSmJupGHrTz9LzRCdLoHJseDNMWFme74bfjl9Fb8sHTtk6beLqJLyl u75uGR3wLJB4KhwWdmFsvyTSy9LnDGlCCqUnXw2bwRLBptg2/1tOQONQUbBqHUMShQ qiG8Fiv5Yl1TcyPjLfD3dMid63oqKCL1tukgmPkA= Date: Wed, 23 Aug 2023 19:16:14 +0300 Message-ID: <20230823161614.zhc3cnjjipkqjfy7@X-kone> References: <87a5ui5ofr.fsf@disroot.org> <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> <87il95ddk4.fsf@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="v3vflegiay534bpy" Content-Disposition: inline In-Reply-To: <87il95ddk4.fsf@riseup.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Saku Laesvuori From: Saku Laesvuori via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -8.31 X-Spam-Score: -8.31 X-Migadu-Queue-Id: 8ACE946B38 X-TUID: s5DBTqCJEYjV --v3vflegiay534bpy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > Thanks! Adding gcc-toolchain to the profile fixed it, but shouldn't thi= s=20 > > be automatically brought in by `guix install ghc`? This does still feel= s=20 > > like a bug to me, shouldn't gcc-toolchain be a part of ghcs native-inpu= ts? native-inputs are for buildtime inputs and here ghc needs a c toolchain at runtime to compile another haskell program so gcc-toolchain should be in "normal" inputs. > I assume GHC can work with other toolchains, like Clang, so it's better > to be explicit about what you want to use. I think it would still be good to have a c toolchain as an input. Guix packages are, if I understand correctly, supposed to work without having to explicitly install their dependencies. If someone wants to use a different c toolchain than the default, they can use a package transformation to change it. Maybe we could even have the current ghc as a hidden package and have the public package wrap the hidden ghc adding gcc-toolchain to it's environment, so that changing the c toolchain wouldn't require rebuilding ghc. --v3vflegiay534bpy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmTmMM4ACgkQJX0oSiod OjJp6xAAo6JztgaiOHR+OILHY4AwBpwKu4tAVVYiEoALT4iC4Zmmdqc7kuv+xXMn whm2fBE/XgQyCRncBU6wVraK8ChsR1qH8jRBtGdhcNDMldgtQPqXgxq+AgZ52aPB eyR6WDF92txBJeD8ifDs7O2yYG5UVa1hTRFngYHitBSD8y5gRs9hIgd1mKGjrvA1 FSw6w5V8bHSN3PlZWK9vCta4Bh9JwbjTmAbEI6wRfBkiR6j+th3Lxf+GGpV2wJQ3 Z5d/eoXVdkWc+3fz7nL1cKw9VWWORj/6fkDLibyVDEzPPKRCerI9zjqx4vcaP7iO 7N5dnU3KCF/BU+LX2+D+KxjCT2QGLoh8MqXS49rPKVQR37MAq0XyUHCln7WAHXDZ mApkELYDO94+V9yPgaIBcjeBCuB7db4cjZ8dCeG7Cwi24nLz+RLoW4AOEyrsfYtR VR/jPFkBgew6yXb/ZhxKZdU6K4zWwdNKXj9+XRYqQ13TmSS/e7pTG+l0TmeiXGdJ 2/DZJJF9ooaoYuf3wVFIxTqwfrTpdJGxP2kzpY1w94tWjdE7yFnxxxkh7/n8ih7e m8IiE4iO3m7wwjsukzzgpPGQFMoPMbamLlBe6RujVZZAvGAalRyXBVqaoPZK4PyO CIQAu6rTKSZfvjTW0dw6q4XGIbgZTdcko20fzrUsZGTGhPDmAvU= =IYJM -----END PGP SIGNATURE----- --v3vflegiay534bpy--