xsv: Add --locked flag to cargo install

Closes #46137.

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

View file

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