2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
makeSetupHook,
|
|
|
|
}:
|
|
|
|
|
|
|
|
makeSetupHook {
|
|
|
|
name = "version-check-hook";
|
2024-09-19 14:19:46 +00:00
|
|
|
substitutions = {
|
|
|
|
storeDir = builtins.storeDir;
|
|
|
|
};
|
2024-07-27 06:49:29 +00:00
|
|
|
meta = {
|
|
|
|
description = "Lookup for $version in the output of --help and --version";
|
|
|
|
maintainers = with lib.maintainers; [ doronbehar ];
|
|
|
|
};
|
|
|
|
} ./hook.sh
|