Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Formula/a/agda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Agda < Formula
# agda2hs.cabal specifies BSD-3-Clause but it installs an MIT LICENSE file.
# Everything else specifies MIT license and installs corresponding file.
license all_of: ["MIT", "BSD-3-Clause"]
revision 1
revision 2

stable do
url "https://github.com/agda/agda/archive/refs/tags/v2.8.0.tar.gz"
Expand Down
13 changes: 3 additions & 10 deletions Formula/g/ghc@9.12.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
class GhcAT912 < Formula
desc "Glorious Glasgow Haskell Compilation System"
homepage "https://haskell.org/ghc/"
url "https://downloads.haskell.org/~ghc/9.12.3/ghc-9.12.3-src.tar.xz"
sha256 "209023906ce460e5288c9844b728a7f704868269489dc724ed097da550f6e869"
url "https://downloads.haskell.org/~ghc/9.12.4/ghc-9.12.4-src.tar.xz"
sha256 "02d1ee5080acf00e135b93b238f09015b06ff27254cde59669cf57c42c2bee43"
license "BSD-3-Clause"
compatibility_version 1

livecheck do
url "https://www.haskell.org/ghc/"
Expand Down Expand Up @@ -98,14 +99,6 @@ class GhcAT912 < Formula
end
end

# Apply open MR fix for regression similar to Fedora
# https://discourse.haskell.org/t/critical-code-generation-bug-with-ghc-9-12-3/13505
# https://gitlab.haskell.org/ghc/ghc/-/merge_requests/15264
patch do
url "https://gitlab.haskell.org/ghc/ghc/-/commit/65370007e2d9f1976fbcfbb514917fb111117148.diff"
sha256 "09e9e9313134959b90c8222213e5ab8af7d6dbd10a5c25454d7b85eced281eb8"
end

def install
# ENV.cc and ENV.cxx return specific compiler versions on Ubuntu, e.g.
# gcc-11 and g++-11 on Ubuntu 22.04. Using such values effectively causes
Expand Down
1 change: 1 addition & 0 deletions Formula/h/haskell-language-server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
url "https://github.com/haskell/haskell-language-server/releases/download/2.13.0.0/haskell-language-server-2.13.0.0-src.tar.gz"
sha256 "c53f0da9aa9d9924265487ba1e03aabc7dbd54075e2785f931c15b0090829a1e"
license "Apache-2.0"
revision 1
head "https://github.com/haskell/haskell-language-server.git", branch: "master"

# we need :github_latest here because otherwise
Expand Down Expand Up @@ -40,7 +41,7 @@
.sort_by(&:version)
end

def install

Check failure on line 44 in Formula/h/haskell-language-server.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle haskell-language-server` failed on macOS Sonoma (14) on Apple Silicon!

::error::A `brew install --verbose --formula --build-bottle haskell-language-server` process has already locked /opt/homebrew/Cellar/ghc@9.12.%0APlease wait for it to finish or terminate it to continue.%0A
# Cannot dynamically link when supporting multiple versions of GHC in single formula
args = ["--disable-executable-dynamic", "--flags=-dynamic -test-exe"]
# Work around failure: ld: B/BL out of range 204883708 (max +/-128MB)
Expand Down
Loading