Skip to content

Commit

Permalink
Merge pull request #165455 from Homebrew/mongodb-atlas-cli-nim-conflicts
Browse files Browse the repository at this point in the history
mongodb-atlas-cli, nim: add conflicts_with
  • Loading branch information
chenrui333 authored Mar 7, 2024
2 parents a4683fc + dd564a5 commit f7cd0ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/m/mongodb-atlas-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class MongodbAtlasCli < Formula
depends_on "mongosh"
depends_on "podman"

conflicts_with "nim", because: "both install `atlas` executable"

def install
with_env(
ATLAS_VERSION: version.to_s,
Expand Down
2 changes: 2 additions & 0 deletions Formula/n/nim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class Nim < Formula
depends_on "openssl@3"
end

conflicts_with "mongodb-atlas-cli", because: "both install `atlas` executable"

def install
if build.head?
# this will clone https://github.com/nim-lang/csources_v1
Expand Down

0 comments on commit f7cd0ed

Please sign in to comment.