hyfetch: add versionCheckHook

This commit is contained in:
Defelo
2025-08-21 21:08:51 +02:00
parent 2c5f6ca3da
commit 8c00687144
+6
View File
@@ -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 = ''