websocat: add --locked flag to cargo install

Closes #46155.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Rui Chen 2019-11-02 19:35:14 -04:00 committed by FX Coudert
parent 93334daeb1
commit c2ec865b55

View file

@ -16,7 +16,7 @@ class Websocat < Formula
depends_on "rust" => :build
def install
system "cargo", "install", "--root", prefix,
system "cargo", "install", "--locked", "--root", prefix,
"--path", ".",
"--features", "ssl"
end