diff --git a/Formula/elm-format.rb b/Formula/elm-format.rb index ff3605e7e607f..f497bf4bfdd8a 100644 --- a/Formula/elm-format.rb +++ b/Formula/elm-format.rb @@ -2,8 +2,8 @@ class ElmFormat < Formula desc "Elm source code formatter, inspired by gofmt" homepage "https://github.com/avh4/elm-format" url "https://github.com/avh4/elm-format.git", - tag: "0.8.4", - revision: "5bd4fbe591fe8b456160c180cb875ef60bc57890" + tag: "0.8.5", + revision: "80f15d85ee71e1663c9b53903f2b5b2aa444a3be" license "BSD-3-Clause" head "https://github.com/avh4/elm-format.git" @@ -15,7 +15,9 @@ class ElmFormat < Formula end depends_on "cabal-install" => :build - depends_on "ghc@8.8" => :build + depends_on "ghc" => :build + depends_on "gnu-tar" => :build + depends_on "pkg-config" => :build def build_elm_format_conf <<~EOS @@ -27,6 +29,7 @@ module Build_elm_format where end def install + ENV.prepend_path "PATH", Formula["gnu-tar"].opt_libexec/"gnubin" defaults = buildpath/"generated/Build_elm_format.hs" defaults.write(build_elm_format_conf)