git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
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
|