diff --git a/pkgs/by-name/hy/hyfetch/package.nix b/pkgs/by-name/hy/hyfetch/package.nix index 064a20cad84c..884e0915c70b 100644 --- a/pkgs/by-name/hy/hyfetch/package.nix +++ b/pkgs/by-name/hy/hyfetch/package.nix @@ -5,6 +5,7 @@ installShellFiles, makeBinaryWrapper, pciutils, + versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -46,6 +47,11 @@ rustPlatform.buildRustPackage (finalAttrs: { "man" ]; + nativeInstallCheckInputs = [ versionCheckHook ]; + versionCheckProgramArg = "--version"; + versionCheckKeepEnvironment = [ "PATH" ]; + doInstallCheck = true; + meta = { description = "Neofetch with LGBTQ+ pride flags"; longDescription = ''