miniserve: add versionCheckHook
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
installShellFiles,
|
||||
stdenv,
|
||||
curl,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -45,6 +46,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "CLI tool to serve files and directories over HTTP";
|
||||
homepage = "https://github.com/svenstaro/miniserve";
|
||||
|
||||
Reference in New Issue
Block a user