Skip to content

stack build hangs when I add yesod-core-1.7.0.0 to extra-deps #6933

Description

@simonmichael

General summary/comments (optional)

I'm trying to build hledger-web with a newer yesod-core, 1.7.0.0. When I add it to extra-deps, builds hang, seemingly on unrelated packages.

Steps to reproduce

For example:

  1. git clone --depth 1 --revision e8f4d43dcf58a5731b1e2c95be9d8bf4c236e352 https://github.com/simonmichael/hledger
  2. cd hledger
  3. stack build hledger-web # succeeds
  4. add extra dep (and bump bounds)
git apply <<'PATCH'
diff --git a/hledger-web/hledger-web.cabal b/hledger-web/hledger-web.cabal
index 922dbcb21..da9de2284 100644
--- a/hledger-web/hledger-web.cabal
+++ b/hledger-web/hledger-web.cabal
@@ -203,3 +203,3 @@ library
     , yesod >=1.4 && <1.7
-    , yesod-core >=1.4 && <1.7
+    , yesod-core >=1.4 && <1.8
     , yesod-form >=1.4 && <1.8
diff --git a/hledger-web/package.yaml b/hledger-web/package.yaml
index 1ad170474..efd11a645 100644
--- a/hledger-web/package.yaml
+++ b/hledger-web/package.yaml
@@ -148,3 +148,3 @@ library:
   - yesod        >=1.4 && < 1.7
-  - yesod-core   >=1.4 && < 1.7
+  - yesod-core   >=1.4 && < 1.8
   - yesod-form   >=1.4 && < 1.8
diff --git a/stack.yaml b/stack.yaml
index 25364eead..a4a4885fa 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -22,2 +22,3 @@ extra-deps:
 - haskeline-0.8.4.1
+- yesod-core-1.7.0.0
 allow-newer: true
PATCH
  1. stack build hledger-web # hangs while building on one package or another

Expected

Expected the second build to succeed

Actual

It hangs.

Stack version

stack --version
Version 3.11.1, Git revision 979bf6339fd4d5837c4d2fa8166dc715eef30ee2 x86_64 hpack-0.39.6

Method of installation

  • Official binary, installed via stack upgrade IIRC

Platform

macos tahoe 26.5

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions