Revive Stack build#322
Conversation
|
Thanks @philderbeast! |
|
To explain the existing approach:
|
|
I think mpilgrem's notes are quite important here ^ He had implemented the original Stack support and is a/the Stack maintainer. |
|
The two approaches give slightly different $ stack --stack-yaml=stack.ghc-9.14.1.yaml ls dependencies > deps-cmp.txt
$ stack ls dependencies > deps.txt
$ diff --unified deps.txt deps-cmp.txt
--- deps.txt 2026-06-01 15:53:59.593133402 -0400
+++ deps-cmp.txt 2026-06-01 15:56:14.224346721 -0400
@@ -1,7 +1,7 @@
Cabal 3.16.0.0
Cabal-syntax 3.16.0.0
OneTuple 0.4.3
-QuickCheck 2.16.0.0
+QuickCheck 2.18.0.0
StateVar 1.2.2
aeson 2.2.5.0
aeson-pretty 0.8.10
@@ -13,7 +13,7 @@
attoparsec 0.14.4
attoparsec-aeson 2.2.2.0
base 4.22.0.0
-base-compat 0.14.1
+base-compat 0.15.0
base-orphans 0.9.4
base16-bytestring 1.0.2.0
basement 0.0.16
@@ -97,7 +97,7 @@
safe-exceptions 0.1.7.4
scientific 0.3.8.1
semaphore-compat 1.0.0
-semialign 1.3.1.1
+semialign 1.4
semigroupoids 6.0.2
socks 0.6.1
split 0.2.5
@@ -121,7 +121,7 @@
time-manager 0.3.2
transformers 0.6.1.2
transformers-base 0.4.6.1
-transformers-compat 0.7.2
+transformers-compat 0.8
typed-process 0.2.13.0
unix 2.8.8.0
unix-compat 0.7.4.1Looking at versions only (but showing flags), the approach starting from Building with the two Stack projects (first uses |
fed9336 to
f0bd3d1
Compare
Revert "Add stack nightly-2026-01-01" This reverts commit fed9336. Allow newer is not needed
f0bd3d1 to
a3b0381
Compare
Basing it on Footnotes
|
- Renaming extra-deps field to packages
|
@mpilgrem, I powered up a Windows virtual machine that I haven't used in a while and tried the Windows build for both approaches but they both failed: |
|
Once Stack is revived, the instructions should be added back into the README (potentially by reverting 48ef569) |
|
Could it make sense to wait for Stackage 9.14 to be out before trying this further? It feels like it would be much simpler. |
Fixes #309. There's no Stackage snapshot for ghc-9.14.1, so set the snapshot via the compiler version and explicitly list all extra dependency versions, pretty much the same list as a
cabal freezewould give.Applies the workaround of renaming the internal
daplibrary, commercialhaskell/stack#6920.Note
Not tested on Windows.