From unknown Sat Aug 16 20:58:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35907 <35907@debbugs.gnu.org> To: bug#35907 <35907@debbugs.gnu.org> Subject: Status: [PATCH] guix import hackage: update list of ghc-included packages Reply-To: bug#35907 <35907@debbugs.gnu.org> Date: Sun, 17 Aug 2025 03:58:35 +0000 retitle 35907 [PATCH] guix import hackage: update list of ghc-included pack= ages reassign 35907 guix-patches submitter 35907 Robert Vollmert severity 35907 normal tag 35907 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 25 16:11:21 2019 Received: (at submit) by debbugs.gnu.org; 25 May 2019 20:11:21 +0000 Received: from localhost ([127.0.0.1]:49715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUd0j-0001H9-FG for submit@debbugs.gnu.org; Sat, 25 May 2019 16:11:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUd0h-0001Gu-E6 for submit@debbugs.gnu.org; Sat, 25 May 2019 16:11:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:42486) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUd0c-000628-CM for submit@debbugs.gnu.org; Sat, 25 May 2019 16:11:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUd0b-0004zi-56 for guix-patches@gnu.org; Sat, 25 May 2019 16:11:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUd0a-00060P-1J for guix-patches@gnu.org; Sat, 25 May 2019 16:11:13 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:57182) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUd0Z-0005zc-Rm for guix-patches@gnu.org; Sat, 25 May 2019 16:11:11 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 87AA3A017E; Sat, 25 May 2019 22:11:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id qiv2ditNlI_J; Sat, 25 May 2019 22:11:04 +0200 (CEST) From: Robert Vollmert To: guix-patches@gnu.org Subject: [PATCH] guix import hackage: update list of ghc-included packages Date: Sat, 25 May 2019 22:11:02 +0200 Message-Id: <20190525201102.14630-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.241.60.215 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Robert Vollmert X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Update the list of excepted dependencies for current ghc-8.4, based on the release notes at https://downloads.haskell.org/~ghc/8.4.3/docs/html/users_guide/8.4.3-note= s.html Particularly, this adds `text` to the list, which is a dependency of `parsec` which was already on the list before, causing build failures with updated versions of the `text` package. * guix/import/hackage.scm (ghc-standard-libraries): Update list. --- guix/import/hackage.scm | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm index c97b16197f..bc72f21bf3 100644 --- a/guix/import/hackage.scm +++ b/guix/import/hackage.scm @@ -52,34 +52,35 @@ hackage-package?)) =20 (define ghc-standard-libraries - ;; List of libraries distributed with ghc (7.10.2). We include GHC its= elf as - ;; some packages list it. - '("array" + ;; List of libraries distributed with ghc (8.4.3). + ;; https://downloads.haskell.org/~ghc/8.4.3/docs/html/users_guide/8.4.= 3-notes.html + '("ghc" + "cabal" ;; in the output of `ghc-pkg list` Cabal is uppercased, but + ;; hackage-name->package-name takes this into account. + "win32" ;; similarly uppercased + "array" "base" - "bin-package-db" "binary" "bytestring" - "cabal" ;; in the output of `ghc-pkg list` Cabal is uppercased, but - ;; hackage-name->package-name takes this into account. "containers" "deepseq" "directory" "filepath" - "ghc" + "ghc-boot" + "ghc-compact" "ghc-prim" + "ghci" "haskeline" - "hoopl" "hpc" "integer-gmp" - "pretty" + "mtl" + "parsec" "process" - "rts" "template-haskell" - "terminfo" + "text" "time" "transformers" "unix" - "win32" "xhtml")) =20 (define package-name-prefix "ghc-") --=20 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Tue May 28 09:39:58 2019 Received: (at 35907) by debbugs.gnu.org; 28 May 2019 13:39:58 +0000 Received: from localhost ([127.0.0.1]:55318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVcKc-0005o1-G1 for submit@debbugs.gnu.org; Tue, 28 May 2019 09:39:58 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:37678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVcKb-0005nm-9d for 35907@debbugs.gnu.org; Tue, 28 May 2019 09:39:57 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 5C5F2A0184 for <35907@debbugs.gnu.org>; Tue, 28 May 2019 15:39:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id PSTqCXEUsVES for <35907@debbugs.gnu.org>; Tue, 28 May 2019 15:39:48 +0200 (CEST) From: Robert Vollmert Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: note Message-Id: <4E64EFA7-EDBA-4C06-A25E-4600CE49B969@vllmrt.net> Date: Tue, 28 May 2019 15:39:45 +0200 To: 35907@debbugs.gnu.org X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35907 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Note that I=E2=80=99m not sure it=E2=80=99s actually a good idea to = exclude (all of) these packages from the dependencies: They=E2=80=99re mostly bundled with ghc because = they are used in the ghc build. As such, it might well be that future ghc versions switch out = e.g. =E2=80=9Cbytestring=E2=80=9D for some alternate data structure, which = would then require changes to all package definitions that currently silently depend on = =E2=80=9Cbytestring=E2=80=9D. Should I include a patch to remove the explicitly packaged `ghc-text` = and other packages of this type?= From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 01 00:17:25 2019 Received: (at 35907) by debbugs.gnu.org; 1 Jun 2019 04:17:25 +0000 Received: from localhost ([127.0.0.1]:36785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWvSP-00036c-9a for submit@debbugs.gnu.org; Sat, 01 Jun 2019 00:17:25 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWvSN-00036R-Cl for 35907@debbugs.gnu.org; Sat, 01 Jun 2019 00:17:23 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1559362618; cv=none; d=zoho.com; s=zohoarc; b=hX3Y5juPVIAY0pFlUFyW/wdjkLxgXCNdiukrcYsgw3bK9rnor3oWWaFVNRvWwV76cFNG3VUUkVBuEhcxnwbPOZ2uXPRz4izkV4GeEDB0rCScdvOAU4PtWeprsnhtPpu7cv5EJlCUAIyiTX5hfmuvTH8xzwwHWb1L1E6YB/oCNCY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559362618; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=5ObhhX502YEh10DXUhbIXd4VJc9tHIZCpG6VVwLe8lc=; b=itZMFx6ESq1JR4LFKQQJe59uxcRVtBZikNNVE+ky+rhXDhN11tsqpVvXwjlGZ1cVXlCVjOeGRMB4kbHnESNgcO/SUiry/erS/owO5ETp4YUeHVpl/YVl+0qo/ZmMDuqO9gTqaKrK6yBKHcxJsgzCWoCcNIesizObn8x6x7r/pCI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1559362618; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1022; bh=5ObhhX502YEh10DXUhbIXd4VJc9tHIZCpG6VVwLe8lc=; b=WZEV2ejI19UH4SE9ov7l4smLuZjcbVx8JWMBG+iq91jiBQ8Rjf2rkuMFZ3xtM4GU G91dgRPRFoZUCz+jrjx09LG13bZ+qG2yu7yNE+7qmN1l+WfhOzUPOW+mMlxMmRv3jIM 9Dk1AN8NvLn9JOwob20Cx1lSNfjY90pmfv13WA6k= Received: from localhost (p54AD44EE.dip0.t-ipconnect.de [84.173.68.238]) by mx.zohomail.com with SMTPS id 155936261590020.79462948869866; Fri, 31 May 2019 21:16:55 -0700 (PDT) References: <20190525201102.14630-1-rob@vllmrt.net> <4E64EFA7-EDBA-4C06-A25E-4600CE49B969@vllmrt.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: Robert Vollmert Subject: Re: [bug#35907] note In-reply-to: <4E64EFA7-EDBA-4C06-A25E-4600CE49B969@vllmrt.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 01 Jun 2019 06:16:52 +0200 Message-ID: <87d0jyj5xn.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35907 Cc: 35907@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Robert, > Note that I=E2=80=99m not sure it=E2=80=99s actually a good idea to exclu= de (all of) these packages > from the dependencies: They=E2=80=99re mostly bundled with ghc because th= ey are used in the > ghc build. As such, it might well be that future ghc versions switch out = e.g. > =E2=80=9Cbytestring=E2=80=9D for some alternate data structure, which wou= ld then require changes to > all package definitions that currently silently depend on =E2=80=9Cbytest= ring=E2=80=9D. While this is correct, we cannot seem to remove them from the environment when building packages. If we allow these packages to be added as inputs and these packages are at different versions from what GHC provides we get into trouble. This happened in the past, unfortunately, and it=E2=80=99s hard to debug. > Should I include a patch to remove the explicitly packaged `ghc-text` and= other > packages of this type? Yes, I think this would be good. Thank you for working on this! -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 01 00:24:50 2019 Received: (at 35907-done) by debbugs.gnu.org; 1 Jun 2019 04:24:50 +0000 Received: from localhost ([127.0.0.1]:36789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWvZa-0003HK-37 for submit@debbugs.gnu.org; Sat, 01 Jun 2019 00:24:50 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWvZX-0003HB-RQ for 35907-done@debbugs.gnu.org; Sat, 01 Jun 2019 00:24:48 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1559363053; cv=none; d=zoho.com; s=zohoarc; b=ZKMtBXKsjYutxxDQv0D7voYuMpOdLyqjPfbj9BTmuhW87GkME+bHLjlIpPvD5wOagz2YKxJkmmQ46ecRuuzvtHTmfm5UKi6Q1WfEGlUKz+mXsDNpHTWeVcbOTiBBp51Y6KAhUZ+4LV/o/8/UHfvZL1y2G528T53A35vcNpr30OU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559363053; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=H0eqLxUnnsjT/6q1hKZ44JHDMoaNXXnZ3aBWZkdY4Xk=; b=Jy0N+v274K3n1VDYvdl4RzwEwuphWfk3mQmeM7B45Q8Vl4NbfGobsQm9bSnK4WZgsJGqGVbCHBwW3KtdNEccAt4LFEJUqXz1cwkE+PhYkqtKxDIIWDAFlwpcqU6Kvj4YWAwM9bvebDqIIu7Vbg5CJmHh+GuVm8vHRe6xAlK+nbc= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1559363053; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=651; bh=H0eqLxUnnsjT/6q1hKZ44JHDMoaNXXnZ3aBWZkdY4Xk=; b=QFQHJbU+a/ilnQrAbRjTrLiwZD87YbpgPsU1RY/iNuiBwTKu1Nj7mScQ1p53mynb TjT9qQOj2b6DljSbUgfWLSjq96Nz/kQzvj8hKTM0ibglSbjoJkqhQx2ct77Z52y/D6k c50yTBh+oZ/ZPsRnlb1asDXB2A4MwRcnTUQ0WCmM= Received: from localhost (p54AD44EE.dip0.t-ipconnect.de [84.173.68.238]) by mx.zohomail.com with SMTPS id 1559363053303953.1829577089547; Fri, 31 May 2019 21:24:13 -0700 (PDT) References: <20190525201102.14630-1-rob@vllmrt.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: Robert Vollmert Subject: Re: [bug#35907] [PATCH] guix import hackage: update list of ghc-included packages In-reply-to: <20190525201102.14630-1-rob@vllmrt.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 01 Jun 2019 06:24:10 +0200 Message-ID: <87blzij5lh.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35907-done Cc: 35907-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Robert, > Update the list of excepted dependencies for current ghc-8.4, > based on the release notes at > https://downloads.haskell.org/~ghc/8.4.3/docs/html/users_guide/8.4.3-note= s.html > > Particularly, this adds `text` to the list, which is a dependency > of `parsec` which was already on the list before, causing build > failures with updated versions of the `text` package. > > * guix/import/hackage.scm (ghc-standard-libraries): Update list. I made a minor change to the commit message (it=E2=80=99s hard to get this right) and pushed this change to the master branch with commit 1cc12357a6. Thank you! -- Ricardo From unknown Sat Aug 16 20:58:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 29 Jun 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator