Gaetan Lepage 2024-10-19 19:35:07 +02:00
parent 8ce18c05e8
commit 2956005d4b
3 changed files with 821 additions and 476 deletions

View File

@ -11,7 +11,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
name = "tinymist"; name = "tinymist";
publisher = "myriad-dreamin"; publisher = "myriad-dreamin";
inherit (tinymist) version; inherit (tinymist) version;
hash = "sha256-CQVujtl1SFcUmEG7O1cvN2gr6v3kcWMMZz+oYEkclKI="; hash = "sha256-NQ7LsX8/1h7sSI5mPdDgu4MVc29iNJ1vl0K7fMCBmlc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

File diff suppressed because it is too large Load Diff

View File

@ -17,19 +17,19 @@ rustPlatform.buildRustPackage rec {
pname = "tinymist"; pname = "tinymist";
# Please update the corresponding vscode extension when updating # Please update the corresponding vscode extension when updating
# this derivation. # this derivation.
version = "0.11.32"; version = "0.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Myriad-Dreamin"; owner = "Myriad-Dreamin";
repo = "tinymist"; repo = "tinymist";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-xXrE4LOzcR4TCoBD7jbS1Ba7kBLBPiF3GI0wjq5GXWA="; hash = "sha256-z0JfHEG01q83iHAQA/Ke/DPhKQYwkWv9HRpeUdXmTxs=";
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"typst-0.11.1" = "sha256-dQf4qYaOni/jwIjRVXXCZLTn6ox3v6EyhCbaONqNtcw="; "typst-0.12.0" = "sha256-E2wSVHqY3SymCwKgbLsASJYaWfrbF8acH15B2STEBF8=";
"typst-syntax-0.7.0" = "sha256-yrtOmlFAKOqAmhCP7n0HQCOQpU3DWyms5foCdUb9QTg="; "typst-syntax-0.7.0" = "sha256-yrtOmlFAKOqAmhCP7n0HQCOQpU3DWyms5foCdUb9QTg=";
"typstfmt_lib-0.2.7" = "sha256-LBYsTCjZ+U+lgd7Z3H1sBcWwseoHsuepPd66bWgfvhI="; "typstfmt_lib-0.2.7" = "sha256-LBYsTCjZ+U+lgd7Z3H1sBcWwseoHsuepPd66bWgfvhI=";
}; };
@ -53,14 +53,10 @@ rustPlatform.buildRustPackage rec {
checkFlags = [ checkFlags = [
"--skip=e2e" "--skip=e2e"
# Fails because of missing `creation_timestamp` field
# https://github.com/NixOS/nixpkgs/pull/328756#issuecomment-2241322796
"--skip=test_config_update"
# Require internet access # Require internet access
"--skip=docs::tests::cetz" "--skip=docs::package::tests::cetz"
"--skip=docs::tests::tidy" "--skip=docs::package::tests::tidy"
"--skip=docs::tests::touying" "--skip=docs::package::tests::touying"
]; ];
nativeInstallCheckInputs = [ nativeInstallCheckInputs = [