Skip to content

Commit

Permalink
pandoc: fix installation to cabal-install v2.
Browse files Browse the repository at this point in the history
Closes #58074.

Signed-off-by: Rylan Polster <rslpolster@gmail.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
gzagatti authored and BrewTestBot committed Jul 16, 2020
1 parent 855baab commit 32aa14f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Formula/pandoc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ class Pandoc < Formula
uses_from_macos "zlib"

def install
cabal_sandbox do
install_cabal_package :flags => ["embed_data_files"]
end
system "cabal", "v2-update"
system "cabal", "v2-install", *std_cabal_v2_args
(bash_completion/"pandoc").write `#{bin}/pandoc --bash-completion`
man1.install "man/pandoc.1"
end
Expand Down

0 comments on commit 32aa14f

Please sign in to comment.