From 5d5429591b69fc4914c9d73aefa77761f50b74db Mon Sep 17 00:00:00 2001 From: ktf Date: Thu, 11 Jan 2024 14:33:27 -0800 Subject: [PATCH] Upgrade Stackage LTS version (for GHC 9.4.8 and other goodies) --- stack.yaml | 8 +++++++- stack.yaml.lock | 8 ++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/stack.yaml b/stack.yaml index 6b9c52c..981ac5b 100644 --- a/stack.yaml +++ b/stack.yaml @@ -18,7 +18,7 @@ # resolver: ./custom-snapshot.yaml # resolver: https://example.com/snapshots/2018-01-01.yaml resolver: - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml # GHC 9.2.8 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/25.yaml # GHC 9.4.8 # User packages to be built. # Various formats can be used as shown in the example below. @@ -50,6 +50,12 @@ extra-deps: - hspec-discover-2.11.4 - hspec-expectations-0.8.4 +# As of now, the `themoviedb` library has some older dependencies that don't +# jibe with our newer stack. This (slightly questionable) approach lets us keep +# on keepin' on until it's updated. +allow-newer: true +allow-newer-deps: +- themoviedb # Override default flag values for local packages and extra-deps # flags: {} diff --git a/stack.yaml.lock b/stack.yaml.lock index be2dfb3..1a00d03 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -41,8 +41,8 @@ packages: hackage: hspec-expectations-0.8.4 snapshots: - completed: - sha256: 5a59b2a405b3aba3c00188453be172b85893cab8ebc352b1ef58b0eae5d248a2 - size: 650475 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml + sha256: a81fb3877c4f9031e1325eb3935122e608d80715dc16b586eb11ddbff8671ecd + size: 640086 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/25.yaml original: - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/25.yaml