Skip to content

Commit

Permalink
solo2-cli: add rust 1.79.0 build patch
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Jun 17, 2024
1 parent 3c56489 commit e7e59b6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Formula/s/solo2-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@ class Solo2Cli < Formula
depends_on "systemd"
end

# rust 1.79.0 build patch, upstream pr ref, https://github.com/solokeys/solo2-cli/pull/122
patch do
url "https://github.com/solokeys/solo2-cli/commit/c4b3f28062860c914f3922ad58604f0bc36ead93.patch?full_index=1"
sha256 "1f3e08c4c6f17022e8762852ef8e2de94e1c0161d4409d60e5b04f23d72b632d"
end

def install
system "cargo", "install", "--all-features", *std_cargo_args

bash_completion.install "target/release/solo2.bash"
bash_completion.install "target/release/solo2.bash" => "solo2"
fish_completion.install "target/release/solo2.fish"
zsh_completion.install "target/release/_solo2"
end
Expand Down

0 comments on commit e7e59b6

Please sign in to comment.