Unverified Commit a73f6167 authored by Gabriel Fontes's avatar Gabriel Fontes
Browse files

typst: add passthru.updateScript

parent d769131c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
, xz
, stdenv
, darwin
, nix-update-script
}:

rustPlatform.buildRustPackage rec {
@@ -53,6 +54,8 @@ rustPlatform.buildRustPackage rec {
      --zsh crates/typst-cli/artifacts/_typst
  '';

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

  meta = {
    changelog = "https://github.com/typst/typst/releases/tag/${src.rev}";
    description = "A new markup-based typesetting system that is powerful and easy to learn";