From b79662ca99e0b62446a18bcdc059c44b6c045c5b Mon Sep 17 00:00:00 2001 From: Gabe Berke-Williams Date: Mon, 14 Dec 2020 12:48:38 -0800 Subject: [PATCH] Update most-used for new Homebrew Haskell style Overall tracking issue is here: https://github.com/Homebrew/homebrew-core/issues/55253 --- Formula/most-used.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Formula/most-used.rb b/Formula/most-used.rb index 8d35a04..b968224 100644 --- a/Formula/most-used.rb +++ b/Formula/most-used.rb @@ -1,8 +1,4 @@ -require "language/haskell" - class MostUsed < Formula - include Language::Haskell::Cabal - desc "Find your most-used commands" homepage "https://github.com/gabebw/most-used" url "https://github.com/gabebw/most-used/archive/v0.0.7.1.tar.gz" @@ -14,7 +10,8 @@ class MostUsed < Formula depends_on "cabal-install" => :build def install - install_cabal_package + system "cabal", "v2-update" + system "cabal", "v2-install", *std_cabal_v2_args bin.install "bin/most-used" bin.install "bin/most-used-bash" bin.install "bin/most-used-zsh"