Unverified Commit 06a5f75b authored by Jonathan Davies's avatar Jonathan Davies
Browse files

hickory-dns: Add versionCheckHook

parent 2ea6f83a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  pkg-config,
  rustPlatform,
  nix-update-script,
  versionCheckHook,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -26,6 +27,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
  # tests expect internet connectivity to query real nameservers like 8.8.8.8
  doCheck = false;

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  doInstallCheck = true;

  passthru.updateScript = nix-update-script { };

  meta = {