Subject: bug#58160: closed (Re: bug#58160: [PATCH] gnu: ghc-lucid: fix: cabal-revision)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 15 Oct 2022 08:27:01 +0000

Your bug report

#58160: [PATCH] gnu: ghc-lucid: fix: cabal-revision

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].

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

Subject: Re: bug#58160: [PATCH] gnu: ghc-lucid: fix: cabal-revision
From: Lars-Dominik Braun <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: Pierre-Henry Fröhring <[email-masked]>, [email-masked]
Date: Sat, 15 Oct 2022 10:26:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Ludo,

> Lars, could you take a look?
applied as 4c896c226db8036fa4fb5630ff890abefcd97fe1.

> I’m discovering #:cabal-revision and it’s not clear to me what this hash
> is and what it is used for.
Hackage provides updated .cabal package descriptions i.e., to update
dependency version ranges. Unfortunately haskell-build-system has this
extra quirk to fetch them. Since the importer does not update
cabal-revision when updating the version this was missed when I did the
last big Haskell update. Would be nice if we could merge multiple origins
in the source field.

Cheers,
Lars

Subject: [PATCH] gnu: ghc-lucid: fix: cabal-revision
From: Pierre-Henry Fröhring <[email-masked]>
To: [email-masked]
Cc: Pierre-Henry Fröhring <[email-masked]>
Date: Thu, 29 Sep 2022 15:17:15 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

The `cabal-revision' changed from:

  1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9

to:

  1xllyf26ypk37k807g5v6fl1449mhpvk18dljmqgwj723n0v8rpj

This patch fixes it.
---
 gnu/packages/haskell-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index db653f8c93..49db7ad25d 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -7217,7 +7217,7 @@ (define-public ghc-lucid
     (arguments
      `(#:cabal-revision
        ("1"
-        "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9")))
+        "1xllyf26ypk37k807g5v6fl1449mhpvk18dljmqgwj723n0v8rpj")))
     (home-page "https://github.com/chrisdone/lucid")
     (synopsis "Haskell DSL for rendering HTML")
     (description "Clear to write, read and edit Haskell DSL for HTML.
-- 
2.37.3