From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yPEAE2q5v2DVXAEAgWs5BA (envelope-from ) for ; Tue, 08 Jun 2021 20:39:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yCVADmq5v2DGCQAAB5/wlQ (envelope-from ) for ; Tue, 08 Jun 2021 18:39:38 +0000 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 8FD701ECD9 for ; Tue, 8 Jun 2021 20:39:37 +0200 (CEST) Received: from localhost ([::1]:44042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqgdU-00086U-BA for larch@yhetil.org; Tue, 08 Jun 2021 14:39:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqgdF-00084y-KK for guix-devel@gnu.org; Tue, 08 Jun 2021 14:39:22 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:57776 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqgd9-0005iO-RY; Tue, 08 Jun 2021 14:39:21 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1623177551; bh=paYNSB3gDOthQ45x15p5mGBAw4QbNaUduvNSesdREDg=; h=From:To:Subject:In-Reply-To:References:Date; b=Y3EGNWjzvsu+tkgiIMPCskVDFTO8j6rNNfPRhiWT3y037BVoxZDbW8HoGH/vAgyWe vQ7csgSobKDHq1xB2gw5fsD7Scl+18UY8SJaxy0cmhHboMIquyE8VRrj+MiIVdyXhi WV5TUhBshcaFb/bp+vqFY4IU552P5Dh3wNNudohM= To: zimoun , Guix Devel , Mathieu Othacehe Subject: Haskell update (was: Release 1.2.1: Cuirass failed to build Haskell 179 packages) In-Reply-To: <86blbanogz.fsf@gmail.com> References: <86v99ybup8.fsf@gmail.com> <87v99iduu5.fsf@yoctocell.xyz> <86blbanogz.fsf@gmail.com> Date: Tue, 08 Jun 2021 20:39:10 +0200 Message-ID: <87o8cgfbg1.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 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, FROM_SUSPICIOUS_NTLD=0.498, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623177577; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xWuihRC2EZFyP3EOUT6I2sIOY/h2WCR0WjD7hd8X5bI=; b=Y0lbN817axoeEEylDQp28XoeuYaS3MJS0gG7oKj47K9GMSZXPm0Xcw1KOGJskMLJ6oHgq6 hogFPWfDbWlawPM7Ama5gI2WLrFA4MVliQ0sAHthBCofFGkI2jEK1qwqDrYi+OnDGVVToH jLCl37LkhLsHqie63hoFgJF/DWfX91QX9j386c0a0rQ9x5XqxqbEwc6We1ho/N4tBpOSwi HBi/ofgZ1cOPK6IdyJW1CLbDVE4Hg7Ebbi802urJXLmMdFQg5f//uXxQq3qEWj4gid0xaI vhG6ac6FZXYrPPPb83MvIskQHr8kOcGPeuVHiLzpftyahb7edrK+9HcbpuiPtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623177577; a=rsa-sha256; cv=none; b=eovhHQQH/vj3agbz+D5qX2+Em2A1wx6Xiti4hYz9iR1FUHg0zNfexwokdw+4sqIhIk1OiJ qbC6f+K6kzav/9ya9lr7H5P6g0JKX5Qu/7gXTRbzZQlnKXUr/en0ff74aNUw2MgjP5Rls4 UPlx9YWiGWBnmwYyOOvbVrAa3Zun6cphJj/UFHmyUU4xcukLkRamFGpw1NAV78X/cCD50+ wl36bNJdaW+tpTKzNUjrxnTrYcw0WRUzOSxnvhvp/81wFaQNuq/3TpbVGZCl2xmx3UX/kw 1EvcSsVhP/onWfZ15CjuDRixJJWLLXyl2xvXB18Ugelgj9TA6vduqYE+m3Ty+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b=Y3EGNWjz; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b=Y3EGNWjz; dmarc=pass (policy=none) header.from=yoctocell.xyz; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 8FD701ECD9 X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: eo6ObzD4yyns --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain On Tue, Mar 23 2021, zimoun wrote: >> Maybe its time to update to a newer Stackage LTS release? :) > > Well, I do not know if it possible to do so before the next release. > IMHO, let focus on what remains for the next release and let upgrade the > Stackage LTS after. Any updates on this? I managed to build GHC 8.10.5 (on x86_64), but I had to disable some tests. I have attached the patch if anyone wants to take a look. :) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-ghc-8.10.patch Content-Transfer-Encoding: quoted-printable From=209ecfe7cb3f94b928dbd883d4b7e7c007278c0fa8 Mon Sep 17 00:00:00 2001 Message-Id: <9ecfe7cb3f94b928dbd883d4b7e7c007278c0fa8.1623177424.git.public= @yoctocell.xyz> From: Xinglu Chen Date: Tue, 18 May 2021 23:32:38 +0200 Subject: [RFC PATCH] gnu: Add ghc-8.10. * gnu/packages/haskell.scm (ghc-8.10): New variable. =2D-- gnu/packages/haskell.scm | 66 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 09732fc594..8de3118136 100644 =2D-- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -657,6 +657,72 @@ interactive environment for the functional language Ha= skell.") (file-pattern ".*\\.conf\\.d$") (file-type 'directory)))))) =20 +(define-public ghc-8.10 + (package + (inherit ghc-8.8) + (name "ghc") + (version "8.10.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.haskell.org/ghc/dist/" + version "/ghc-" version "-src.tar.xz")) + (sha256 + (base32 "0vq7wch0wfvy2b5dbi308lq5225vf691n95m19c9igagdvql22gi")))) + (native-inputs + `(("ghc-bootstrap" ,ghc-8.6) + ("ghc-testsuite" + ,(origin + (method url-fetch) + (uri (string-append + "https://www.haskell.org/ghc/dist/" + version "/ghc-" version "-testsuite.tar.xz")) + (patches (search-patches "ghc-testsuite-dlopen-pie.patch")) + (sha256 + (base32 + "0vcq774rfb6q8vsnh7p5clxp2qaz8ip6d2bm2ghbq53n8jl296d6")))) + ("git" ,git-minimal) ; invoked during tests + ,@(filter (match-lambda + (("ghc-bootstrap" . _) #f) + (("ghc-testsuite" . _) #f) + (_ #t)) + (package-native-inputs ghc-8.6)))) + (arguments + (substitute-keyword-arguments (package-arguments ghc-8.6) + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (add-after 'unpack-testsuite 'skip-more-tests + (lambda _ + ;; XXX: This test fails because our ld-wrapper script + ;; mangles the response file passed to the linker. + (substitute* "testsuite/tests/hp2ps/all.T" + (("^test\\('T15904'") "# guix skipped: test('T15904'")) + ;; The following tests fail because they are unable to + ;; find a C compiler. + (substitute* "testsuite/tests/hsc2hs/all.T" + (("^test\\('" all) + (string-append "# guix skipped: " all))) + (substitute* "testsuite/tests/ffi/should_run/all.T" + (("^test\\('Capi_Ctype_00(1|2)'" all) + (string-append "# guix skipped: " all))) + (substitute* "testsuite/tests/ffi/should_run/all.T" + (("makefile_test, \\['Capi_Ctype_00(1|2)'\\].*" all) + (string-append "# guix skipped: " all))) + (substitute* "libraries/base/tests/IO/T12010/test.T" + (("^.*" all) + (string-append "# guix skipped: " all))) + ;; No idea why these are failing + (substitute* '("testsuite/tests/driver/T8602/T8602.T" + "testsuite/tests/driver/T16521/all.T") + (("^.*" all) + (string-append "# guix skipped: " all))))))))) + (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-8 ghc-8.6) =20 (define-public ghc ghc-8) base-commit: 503c2039a280dd52a751a6852b4157fccd1b4195 =2D-=20 2.32.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmC/uU4VHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5+GYP/0qO90ID+wZc2/5fiPDUMvGA4MJW y6I5KmID89ClLBMI2gIqrE+fiRQsobM61V2HonOeY1cJrrGXTVozIdKsVF+nhocF ub6TRwxkQkW7Nx7I7w0u9FVEwNjMNaNRALlQVmsRqf/yHTLaAVxMBWvKadW7akmw VLlv4H7yTrYDTQmFhg2eZ8FcCXKRWShqyvR9MFLTNzo5ouyftfjz6dEVmrV3F9PU CmfNnbeLN4MEqJ75GklBEkdOTzrZsoo86H085So4DeTAbWT0yL6fwyklAV0gRvjO 4HHu+83orwY1aULNctPD4UlJehJoGrlDPnMVtxiP8iTsfGBH36lX13DLYhyYSsK2 /iXyR+A0wuS8OJeXf4kbIyTpfshEPaQpGO7PYu5PRi+OhOIgSa0UG3ulPkjOAPoU USb9Ad/RXrNr5oMUudBgJGZKdE6c3hvZSogB7LvR218gLMtyj3ODD31L+vO+LAoA qkftykr74aY0ekfQEfzqeUIASrN61lr+Q9j/JMOxMa9r4rDJdk9NLM/1x4tUk3sO ssT4SWtR2z2ATjPexkBiQOzcE2hqZTN1QFkW8yH/0sWIygSS4SQ1t2AYfoGbLA4V abcjnmp2TLX+VHNPlrVvVr0Xkbwjc9E3KRchEQQODXB72VV2p/XOVQZFdRI+XU2G qO7KcMQb2KrGn0za =U6FI -----END PGP SIGNATURE----- --==-=-=--