genact: Add --locked flag to cargo install

Closes #46141.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Sam Ford 2019-11-02 16:40:16 -04:00 committed by FX Coudert
parent 0737abc5c6
commit b489a7d937

View file

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