Unverified Commit d654f1d3 authored by Sizhe Zhao's avatar Sizhe Zhao
Browse files

code: add update script

parent 7c750ed9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
{
  fetchFromGitHub,
  lib,
  nix-update-script,
  openssl,
  pkg-config,
  rustPlatform,
@@ -52,6 +53,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

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

  meta = {
    description = "Fast, effective, mind-blowing, coding CLI";
    homepage = "https://github.com/just-every/code";