Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 15 lines 299 B view raw
1{ 2 lib, 3 makeSetupHook, 4}: 5 6makeSetupHook { 7 name = "version-check-hook"; 8 substitutions = { 9 storeDir = builtins.storeDir; 10 }; 11 meta = { 12 description = "Lookup for $version in the output of --help and --version"; 13 maintainers = with lib.maintainers; [ doronbehar ]; 14 }; 15} ./hook.sh