mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
sequoia-sq: add versionCheckHook
Signed-off-by: Anish Pallati <i@anish.land>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
openssl,
|
||||
cacert,
|
||||
sqlite,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -54,6 +55,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
doCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
versionCheckProgramArg = "version";
|
||||
|
||||
postInstall = ''
|
||||
installManPage ${finalAttrs.env.ASSET_OUT_DIR}/man-pages/*.*
|
||||
|
||||
Reference in New Issue
Block a user