Unverified Commit aa8de145 authored by Petr Portnov's avatar Petr Portnov
Browse files

rune: add versionCheckHook

parent f5c91dbe
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  rustPlatform,
  fetchCrate,
  versionCheckHook,
  nix-update-script,
}:

@@ -21,6 +22,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
    RUNE_VERSION = finalAttrs.version;
  };

  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

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

  meta = {