haskell-stack 2.9.3

Closes #117867.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Patrick Linnane 2022-12-17 20:41:01 -08:00 committed by BrewTestBot
parent f43e6680b2
commit 73298565a2
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 7 additions and 3 deletions

View File

@ -1,8 +1,8 @@
class HaskellStack < Formula
desc "Cross-platform program for developing Haskell projects"
homepage "https://haskellstack.org/"
url "https://github.com/commercialhaskell/stack/archive/v2.9.1.tar.gz"
sha256 "512d0188c195073d7c452f4b54ca005005ce7b865052a4856dc9975140051d9c"
url "https://github.com/commercialhaskell/stack/archive/v2.9.3.tar.gz"
sha256 "52eff38bfc687b1a0ded7001e9cd83a03b9152a4d54347df7cf0b3dd92196248"
license "BSD-3-Clause"
head "https://github.com/commercialhaskell/stack.git", branch: "master"
@ -38,6 +38,10 @@ class HaskellStack < Formula
end
def install
# Remove locked dependencies which only work with a single patch version of GHC.
# If there are issues resolving dependencies, then can consider bootstrapping with stack instead.
(buildpath/"cabal.project").unlink
system "cabal", "v2-update"
system "cabal", "v2-install", *std_cabal_v2_args
@ -47,6 +51,6 @@ class HaskellStack < Formula
test do
system bin/"stack", "new", "test"
assert_predicate testpath/"test", :exist?
assert_match "# test", File.read(testpath/"test/README.md")
assert_match "# test", (testpath/"test/README.md").read
end
end