miniserve: add --locked flag to cargo install
Closes #46172. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
a72b548d6d
commit
2fd9fabb09
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Miniserve < Formula
|
|||
system "./install.sh", "--prefix=#{buildpath}/rust-nightly"
|
||||
ENV.prepend_path "PATH", "#{buildpath}/rust-nightly/bin"
|
||||
end
|
||||
system "cargo", "install", "--root", prefix, "--path", "."
|
||||
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue