Loading pkgs/by-name/ty/typst/package.nix +11 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ , xz , stdenv , darwin , nix-update-script }: rustPlatform.buildRustPackage rec { Loading Loading @@ -46,6 +47,12 @@ rustPlatform.buildRustPackage rec { OPENSSL_NO_VENDOR = true; }; # Fix for "Found argument '--test-threads' which wasn't expected, or isn't valid in this context" postPatch = '' substituteInPlace tests/src/tests.rs --replace-fail 'ARGS.num_threads' 'ARGS.test_threads' substituteInPlace tests/src/args.rs --replace-fail 'num_threads' 'test_threads' ''; postInstall = '' installManPage crates/typst-cli/artifacts/*.1 installShellCompletion \ Loading @@ -53,6 +60,10 @@ rustPlatform.buildRustPackage rec { --zsh crates/typst-cli/artifacts/_typst ''; cargoTestFlags = [ "--workspace" ]; 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"; Loading Loading
pkgs/by-name/ty/typst/package.nix +11 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ , xz , stdenv , darwin , nix-update-script }: rustPlatform.buildRustPackage rec { Loading Loading @@ -46,6 +47,12 @@ rustPlatform.buildRustPackage rec { OPENSSL_NO_VENDOR = true; }; # Fix for "Found argument '--test-threads' which wasn't expected, or isn't valid in this context" postPatch = '' substituteInPlace tests/src/tests.rs --replace-fail 'ARGS.num_threads' 'ARGS.test_threads' substituteInPlace tests/src/args.rs --replace-fail 'num_threads' 'test_threads' ''; postInstall = '' installManPage crates/typst-cli/artifacts/*.1 installShellCompletion \ Loading @@ -53,6 +60,10 @@ rustPlatform.buildRustPackage rec { --zsh crates/typst-cli/artifacts/_typst ''; cargoTestFlags = [ "--workspace" ]; 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"; Loading