mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
kanata: add a version check using versionCheckHook
This commit is contained in:
parent
9eb1419a50
commit
0eabd560ce
@ -5,6 +5,7 @@
|
||||
, fetchFromGitHub
|
||||
, jq
|
||||
, moreutils
|
||||
, versionCheckHook
|
||||
, nix-update-script
|
||||
, withCmd ? false
|
||||
}:
|
||||
@ -51,6 +52,11 @@ rustPlatform.buildRustPackage rec {
|
||||
install -Dm 444 assets/kanata-icon.svg $out/share/icons/hicolor/scalable/apps/kanata.svg
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user