diff --git a/Formula/c/cargo-dist.rb b/Formula/c/cargo-dist.rb index f5b0ae6ab15a8..cd6a0b9c93af6 100644 --- a/Formula/c/cargo-dist.rb +++ b/Formula/c/cargo-dist.rb @@ -18,6 +18,8 @@ class CargoDist < Formula depends_on "rust" => :build depends_on "rustup" => :test + conflicts_with "nmh", because: "both install `dist` binaries" + def install system "cargo", "install", *std_cargo_args(path: "cargo-dist") end