sn0int: add --locked flag to cargo install
Closes #46161. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
84efd2d0fc
commit
760a0eceaa
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Sn0int < Formula
|
|||
depends_on "sphinx-doc" => :build
|
||||
|
||||
def install
|
||||
system "cargo", "install", "--root", prefix, "--path", "."
|
||||
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
|
||||
|
||||
system "#{bin}/sn0int completions bash > sn0int.bash"
|
||||
system "#{bin}/sn0int completions fish > sn0int.fish"
|
||||
|
|
Loading…
Reference in a new issue