Skip to content

Commit

Permalink
wagyu: add --locked flag to cargo install
Browse files Browse the repository at this point in the history
Closes #46153.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
  • Loading branch information
chenrui333 authored and fxcoudert committed Nov 3, 2019
1 parent 42409ba commit 3667515
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Formula/wagyu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ class Wagyu < Formula
depends_on "rust" => :build

def install
system "cargo", "install", "--root", prefix,
"--path", "."
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
end

test do
Expand Down

0 comments on commit 3667515

Please sign in to comment.