159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
15 lines
299 B
Nix
15 lines
299 B
Nix
{
|
|
lib,
|
|
makeSetupHook,
|
|
}:
|
|
|
|
makeSetupHook {
|
|
name = "version-check-hook";
|
|
substitutions = {
|
|
storeDir = builtins.storeDir;
|
|
};
|
|
meta = {
|
|
description = "Lookup for $version in the output of --help and --version";
|
|
maintainers = with lib.maintainers; [ doronbehar ];
|
|
};
|
|
} ./hook.sh
|