Subject: bug#35907: closed (Re: [bug#35907] [PATCH] guix import hackage: update list of ghc-included packages)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 01 Jun 2019 04:25:02 +0000

Your bug report

#35907: [PATCH] guix import hackage: update list of ghc-included packages

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
35907: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35907
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#35907] [PATCH] guix import hackage: update list of ghc-included packages
From: Ricardo Wurmus <[email-masked]>
To: Robert Vollmert <[email-masked]>
Cc: [email-masked]
Date: Sat, 01 Jun 2019 06:24:10 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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-notes.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’s hard to get this
right) and pushed this change to the master branch with commit
1cc12357a6.

Thank you!

--
Ricardo

Subject: [PATCH] guix import hackage: update list of ghc-included packages
From: Robert Vollmert <[email-masked]>
To: [email-masked]
Cc: Robert Vollmert <[email-masked]>
Date: Sat, 25 May 2019 22:11:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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-notes.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?))
 
 (define ghc-standard-libraries
-  ;; List of libraries distributed with ghc (7.10.2). We include GHC itself 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"))
 
 (define package-name-prefix "ghc-")
-- 
2.21.0