Skip to content

Commit

Permalink
kanata: 1.6.1 -> 1.7.0-prerelease-1
Browse files Browse the repository at this point in the history
This patch fixes compilation error[1] with rust 1.80[2].

[1]: https://hydra.nixos.org/build/268780260/nixlog/1
[2]: NixOS#332957
  • Loading branch information
jian-lin authored and reckenrode committed Sep 21, 2024
1 parent 458700d commit ca59db0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/tools/system/kanata/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@

rustPlatform.buildRustPackage rec {
pname = "kanata";
version = "1.6.1";
version = "1.7.0-prerelease-1";

src = fetchFromGitHub {
owner = "jtroo";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Kuxy6lGzImYYujuJwZZdfuu3X7/PJNOJefeZ0hVJaAA=";
sha256 = "sha256-eDeGVmh1gI/DhiP6gxJyGH9G9LNH1NHW0+DNuOPUnBY=";
};

cargoHash =
if stdenv.isLinux
then "sha256-R2lHg+I8Sry3/n8vTfPpDysKCKMDUvxyMKRhEQKDqS0="
else "sha256-9CXrOP6SI+sCD9Q94N8TlRB/h+F/l7t3zHbtVDqddS4=";
then "sha256-gRJdfvb3Q+G7pXpOyKrgozrZPJJbDajC63Kk5QtgX00="
else "sha256-i9eY8dvteOLYmM+ad1nw+fohec2SPGCGqColXNamEBo=";

buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.IOKit ];

Expand Down

0 comments on commit ca59db0

Please sign in to comment.