diff options
Diffstat (limited to 'pkgs/by-name/ty/typst/package.nix')
| -rw-r--r-- | pkgs/by-name/ty/typst/package.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/by-name/ty/typst/package.nix b/pkgs/by-name/ty/typst/package.nix index ed04a3ee1547..cc22026c7462 100644 --- a/pkgs/by-name/ty/typst/package.nix +++ b/pkgs/by-name/ty/typst/package.nix @@ -5,9 +5,9 @@ installShellFiles, pkg-config, openssl, - xz, nix-update-script, versionCheckHook, + callPackage, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -31,7 +31,6 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ openssl - xz ]; env = { @@ -58,7 +57,11 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; - passthru.updateScript = nix-update-script { }; + passthru = { + updateScript = nix-update-script { }; + packages = callPackage ./typst-packages.nix { }; + withPackages = callPackage ./with-packages.nix { }; + }; meta = { changelog = "https://github.com/typst/typst/releases/tag/v${finalAttrs.version}"; |
