lol

tint2: add versionCheckHook

+4
+4
pkgs/by-name/ti/tint2/package.nix
··· 22 libXdmcp, 23 libstartup_notification, 24 wrapGAppsHook3, 25 }: 26 27 stdenv.mkDerivation rec { ··· 85 substituteInPlace src/launcher/apps-common.c src/launcher/icon-theme-common.c \ 86 --replace-fail /usr/share/ /run/current-system/sw/share/ 87 ''; 88 89 meta = with lib; { 90 homepage = "https://gitlab.com/nick87720z/tint2";
··· 22 libXdmcp, 23 libstartup_notification, 24 wrapGAppsHook3, 25 + versionCheckHook, 26 }: 27 28 stdenv.mkDerivation rec { ··· 86 substituteInPlace src/launcher/apps-common.c src/launcher/icon-theme-common.c \ 87 --replace-fail /usr/share/ /run/current-system/sw/share/ 88 ''; 89 + 90 + nativeInstallCheckInputs = [ versionCheckHook ]; 91 + doInstallCheck = true; 92 93 meta = with lib; { 94 homepage = "https://gitlab.com/nick87720z/tint2";