hexyl: Add --locked flag to cargo install

Closes #46138.

Signed-off-by: Thierry Moisan <thierry.moisan@gmail.com>
This commit is contained in:
Sam Ford 2019-11-02 14:27:11 -04:00 committed by Thierry Moisan
parent 0f8e0d68ea
commit 6ae9dd8b6c
No known key found for this signature in database
GPG key ID: A9A4CB593D38CDD0

View file

@ -14,7 +14,7 @@ class Hexyl < Formula
depends_on "rust" => :build
def install
system "cargo", "install", "--root", prefix, "--path", "."
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
end
test do