pijul: Add --locked flag to cargo install

Closes #46073.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Sam Ford 2019-11-01 12:23:51 -04:00 committed by FX Coudert
parent e96d80c190
commit c964131554

View file

@ -24,7 +24,7 @@ class Pijul < Formula
ENV["OPENSSL_DIR"] = Formula["openssl@1.1"].opt_prefix
cd "pijul" do
system "cargo", "install", "--root", prefix, "--path", "."
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
end
end