From 8b175bb55343287fc2c048de20516163b63495fb Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Fri, 27 Dec 2024 11:51:13 +0100 Subject: [PATCH] cargo-dist: declare conflict with `nmh` --- Formula/c/cargo-dist.rb | 2 ++ 1 file changed, 2 insertions(+) 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