From b00fae8f05f7fbf9f7c6d9069ad87a81d8713559 Mon Sep 17 00:00:00 2001 From: Roman Melnikov Date: Thu, 7 Sep 2023 14:37:05 +0200 Subject: [PATCH] fixup! Set 'LIBRARY_PATH' --- .buildkite/pipeline-raw.yml | 2 ++ Formula/tezos-client.rb | 1 + 2 files changed, 3 insertions(+) diff --git a/.buildkite/pipeline-raw.yml b/.buildkite/pipeline-raw.yml index 67dd34028..132df6775 100644 --- a/.buildkite/pipeline-raw.yml +++ b/.buildkite/pipeline-raw.yml @@ -12,6 +12,8 @@ steps: agents: queue: "x86_64-rosetta-darwin" commands: + - export LIBRARY_PATH="$(brew --prefix):$LIBRARY_PATH" + - export C_INCLUDE_PATH="$(brew --prefix):$C_INCLUDE_PATH" - nix develop .#autorelease-macos -c ./scripts/build-all-bottles.sh "big_sur" artifact_paths: - '*.bottle.*' diff --git a/Formula/tezos-client.rb b/Formula/tezos-client.rb index 7b0856453..e04c2d334 100644 --- a/Formula/tezos-client.rb +++ b/Formula/tezos-client.rb @@ -41,6 +41,7 @@ def make_deps arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64" system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" + ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ")