From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YJ4AEN8ALGPmewAAbAwnHQ (envelope-from ) for ; Thu, 22 Sep 2022 08:29:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IL8fEN8ALGPqOwAA9RJhRA (envelope-from ) for ; Thu, 22 Sep 2022 08:29:51 +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 CBD261D8DD for ; Thu, 22 Sep 2022 08:29:50 +0200 (CEST) Received: from localhost ([::1]:43308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obFiU-0001mv-GI for larch@yhetil.org; Thu, 22 Sep 2022 02:29:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obFhn-0001lB-Jb for guix-patches@gnu.org; Thu, 22 Sep 2022 02:29:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obFhm-0006Sp-Au for guix-patches@gnu.org; Thu, 22 Sep 2022 02:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obFhl-0007Ti-V6 for guix-patches@gnu.org; Thu, 22 Sep 2022 02:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58000] [PATCH] gnu: Add ghc-9.0. Resent-From: itd Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Sep 2022 06:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58000 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58000@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166382808628671 (code B ref -1); Thu, 22 Sep 2022 06:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Sep 2022 06:28:06 +0000 Received: from localhost ([127.0.0.1]:35952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obFgs-0007SN-GX for submit@debbugs.gnu.org; Thu, 22 Sep 2022 02:28:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:59862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obFgr-0007SC-1g for submit@debbugs.gnu.org; Thu, 22 Sep 2022 02:28:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obFgn-00011T-9F for guix-patches@gnu.org; Thu, 22 Sep 2022 02:28:03 -0400 Received: from mailout3.rbg.tum.de ([131.159.0.8]:37173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obFgl-0006EM-CV for guix-patches@gnu.org; Thu, 22 Sep 2022 02:28:01 -0400 Received: from mailrelay1.rbg.tum.de (mailrelay1.in.tum.de [131.159.254.14]) by mailout3.rbg.tum.de (Postfix) with ESMTPS id B5BDA1003BF for ; Thu, 22 Sep 2022 08:22:03 +0200 (CEST) Received: by mailrelay1.rbg.tum.de (Postfix, from userid 112) id B2205CD; Thu, 22 Sep 2022 08:22:03 +0200 (CEST) Received: from mailrelay1.rbg.tum.de (localhost [127.0.0.1]) by mailrelay1.rbg.tum.de (Postfix) with ESMTP id D69EF1A1 for ; Thu, 22 Sep 2022 08:21:59 +0200 (CEST) Received: from mail.net.in.tum.de (mail.net.in.tum.de [IPv6:2001:4ca0:2001:14:216:3eff:fe52:ed14]) by mailrelay1.rbg.tum.de (Postfix) with ESMTP id D5062CD for ; Thu, 22 Sep 2022 08:21:59 +0200 (CEST) Received: from amnesix.net.in.tum.de (amnesix.net.in.tum.de [131.159.20.238]) by mail.net.in.tum.de (Postfix) with ESMTP id B3DBF28C100B; Thu, 22 Sep 2022 08:21:59 +0200 (CEST) From: itd Date: Thu, 22 Sep 2022 08:21:58 +0200 Message-ID: <87mtasornd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=131.159.0.8; envelope-from=itd@net.in.tum.de; helo=mailout3.rbg.tum.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" 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=1663828190; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=M9NpWxzixxjMz03IM4/WK1nwTrnYN0bgMakidLh29bQ=; b=G3bVpowe6Mc/8aHvea21syp2Dg2G9g17OhG1l8ayTEORa+AJW6zHwAmkrVon+EjUuN3+Z2 u2htbS9nTap/0vB+1KC/qaghOUmfxIKtD4ZlwRJ9h2R3gf0BP52AgfSpgFOiKRV7zuba/1 W352UKkU7lq0P+hnr4XB3dRNCHnZnLW6TsDEzBejtcI0POul31/wIhoJ/HSCJJZjOyzJlf IFYtIqRBCWkcz9sG7413dbaYYPH4AdM/lE9UUypfxoA3oKTgKyrIrGjJO5RCVQWaRo8n9l KFfs8p4Y2jPIh1gMyTK9mXjlOTY142VQklWnlGFH63y+TtlMnc/nt+BABxGs/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663828190; a=rsa-sha256; cv=none; b=krggKnBkyvA1R7a35L/ShX3rou59n7eQIJdmwkOvndqFOYUr8syGDn1Y0+nAViYaGYqYeR 0lP3+8UwASaW0vxaZFXWyxWZ23ATIKt1jPlNTOvqGL24IqBat6bkm4PtmuA974zaQ4Y+KD VefTp/EHbUWLOa2Q4V8NT4VGWNiq/DYt74iC+w8nVK3S2YotaG2hzhshZ8sYhsNUyWZkm9 c3Thad2IynW4fJxtsy+lERuVutV8yTgDhgUUqjpaCd0dPyZt0GZdiAbTSU3eSdaHbCQ3V/ CVoXsQRg79rXQi1zAumtwToAl6x8zQ6goTt+03fc+Y5sEvxNzaKUSAfBBPiCng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=tum.de (policy=none); 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: 2.06 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=tum.de (policy=none); 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: CBD261D8DD X-Spam-Score: 2.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: tb4lcnyFv65d * gnu/packages/haskell.scm (ghc-9.0): New variable. --- Hi, this patch introduces GHC 9.0.2. (More recent than the latest GHC in Guix and prerequisite to build newer GHC releases, to my understanding.) Please consider applying it. Thanks! Regards itd gnu/packages/haskell.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index effc6eeb1b..0afa4d1ce9 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1011,6 +1011,41 @@ (define-public ghc-8.10 (define-public ghc-8 ghc-8.10) +(define-public ghc-9.0 + (package + (inherit ghc-8.10) + (name "ghc-next") + (version "9.0.2") + (source (origin + (method url-fetch) + (uri (string-append "https://www.haskell.org/ghc/dist/" version + "/ghc-" version "-src.tar.xz")) + (sha256 + (base32 + "15wii8can2r3dcl6jjmd50h2jvn7rlmn05zb74d2scj6cfwl43hl")))) + (native-inputs `(("ghc-bootstrap" ,ghc-8.10) + ("ghc-testsuite" + ,(origin + (method url-fetch) + (uri (string-append + "https://www.haskell.org/ghc/dist/" + version "/ghc-" version "-testsuite.tar.xz")) + (sha256 + (base32 + "1m5fzhr4gjn9ni8gxx7ag3fkbw1rspjzgv39mnfb0nkm5mw70v3s")))) + ("git" ,git-minimal/fixed) ;invoked during tests + ,@(filter (match-lambda + (("ghc-bootstrap" . _) #f) + (("ghc-testsuite" . _) #f) + (_ #t)) + (package-native-inputs ghc-8.10)))) + (native-search-paths + (list (search-path-specification + (variable "GHC_PACKAGE_PATH") + (files (list (string-append "lib/ghc-" version))) + (file-pattern ".*\\.conf\\.d$") + (file-type 'directory)))))) + (define-public ghc ghc-8) ;;; haskell.scm ends here base-commit: 04cad8e29ed85be838921c7fa05f7c5bce94b6d1 -- 2.37.3