build: make brew template able to build again on macOs (#57)

Summary:
A few weeks ago we added ISL as part of the `oss` build target, which depends on `yarn` and `node`. This updates this on the template for the homebrew build.

X-link: https://github.com/facebook/sapling-staging/pull/57

Reviewed By: bolinfest

Differential Revision: D41047351

Pulled By: sggutier

fbshipit-source-id: 705d6533379a5a0238f3977afaa7dd82a7589824
This commit is contained in:
Saul Gutierrez 2022-11-04 16:30:41 -07:00 committed by Facebook GitHub Bot
parent 4ff4c3a8a9
commit 7f40624aa6

View File

@ -14,9 +14,11 @@ class Sapling < Formula
license ""
depends_on "python@3.8"
depends_on "node"
depends_on "cmake" => :build
depends_on "openssl@1.1" => :build
depends_on "rust" => :build
depends_on "yarn" => :build
def install
ENV["OPENSSL_DIR"] = Formula["openssl@1.1"].opt_prefix