Skip to content

Commit

Permalink
Merge pull request Homebrew#197970 from Homebrew/prometheus-node
Browse files Browse the repository at this point in the history
prometheus: build with node 23
  • Loading branch information
BrewTestBot authored Nov 17, 2024
2 parents f37e29e + 5a25c57 commit ca49c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/p/prometheus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ class Prometheus < Formula

depends_on "gnu-tar" => :build
depends_on "go" => :build
depends_on "node@22" => :build # pin to use node22, due to node23 issue, see https://github.com/nodejs/node/issues/55826
depends_on "node" => :build
depends_on "yarn" => :build

def install
ENV.deparallelize
ENV.prepend_path "PATH", Formula["gnu-tar"].opt_libexec/"gnubin"
ENV.prepend_path "PATH", Formula["node@22"].opt_libexec/"bin"
ENV.prepend_path "PATH", Formula["node"].opt_libexec/"bin"
mkdir_p buildpath/"src/github.com/prometheus"
ln_sf buildpath, buildpath/"src/github.com/prometheus/prometheus"

Expand Down

0 comments on commit ca49c2c

Please sign in to comment.