Loading pkgs/by-name/ty/typst/package.nix +5 −5 Original line number Diff line number Diff line Loading @@ -10,14 +10,14 @@ versionCheckHook, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "typst"; version = "0.13.1"; src = fetchFromGitHub { owner = "typst"; repo = "typst"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-vbBwIQt4xWZaKpXgFwDsRQIQ0mmsQPRR39m8iZnnuj0="; }; Loading @@ -39,8 +39,8 @@ rustPlatform.buildRustPackage rec { OPENSSL_NO_VENDOR = true; }; postPatch = '' # 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' ''; Loading @@ -63,7 +63,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { changelog = "https://github.com/typst/typst/releases/tag/v${version}"; changelog = "https://github.com/typst/typst/releases/tag/v${finalAttrs.version}"; description = "New markup-based typesetting system that is powerful and easy to learn"; homepage = "https://github.com/typst/typst"; license = lib.licenses.asl20; Loading @@ -74,4 +74,4 @@ rustPlatform.buildRustPackage rec { kanashimia ]; }; } }) Loading
pkgs/by-name/ty/typst/package.nix +5 −5 Original line number Diff line number Diff line Loading @@ -10,14 +10,14 @@ versionCheckHook, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "typst"; version = "0.13.1"; src = fetchFromGitHub { owner = "typst"; repo = "typst"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-vbBwIQt4xWZaKpXgFwDsRQIQ0mmsQPRR39m8iZnnuj0="; }; Loading @@ -39,8 +39,8 @@ rustPlatform.buildRustPackage rec { OPENSSL_NO_VENDOR = true; }; postPatch = '' # 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' ''; Loading @@ -63,7 +63,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { changelog = "https://github.com/typst/typst/releases/tag/v${version}"; changelog = "https://github.com/typst/typst/releases/tag/v${finalAttrs.version}"; description = "New markup-based typesetting system that is powerful and easy to learn"; homepage = "https://github.com/typst/typst"; license = lib.licenses.asl20; Loading @@ -74,4 +74,4 @@ rustPlatform.buildRustPackage rec { kanashimia ]; }; } })