lol

tinymist: 0.12.18 -> 0.12.20 (#383763)

authored by

Gaétan Lepage and committed by
GitHub
5c65fda1 4999dc51

+17 -4
+1 -1
pkgs/applications/editors/vscode/extensions/myriad-dreamin.tinymist/default.nix
··· 11 11 name = "tinymist"; 12 12 publisher = "myriad-dreamin"; 13 13 inherit (tinymist) version; 14 - hash = "sha256-86P0PsOyLtHfGE4HaTvH0nSVs3IialAmw+gyajfJrRE="; 14 + hash = "sha256-esoX4BibxMZv5KHwVJoJ94uDzwL9/OqKrmyvtprbUsc="; 15 15 }; 16 16 17 17 nativeBuildInputs = [
+16 -3
pkgs/by-name/ti/tinymist/package.nix
··· 3 3 stdenv, 4 4 rustPlatform, 5 5 fetchFromGitHub, 6 + fetchpatch, 6 7 installShellFiles, 7 8 pkg-config, 8 9 libgit2, ··· 18 19 pname = "tinymist"; 19 20 # Please update the corresponding vscode extension when updating 20 21 # this derivation. 21 - version = "0.12.18"; 22 + version = "0.12.20"; 22 23 23 24 src = fetchFromGitHub { 24 25 owner = "Myriad-Dreamin"; 25 26 repo = "tinymist"; 26 27 tag = "v${version}"; 27 - hash = "sha256-/QalLr4kerOe+KooKY+Vq6FaGJyzGvaUHhUSu+LTphA="; 28 + hash = "sha256-MFAbG0K71LbMAZKZ0Bo9ms6UTPNetORmHlBwYAusUtE="; 28 29 }; 29 30 31 + patches = [ 32 + # Fixes: 33 + # cargo metadata failure: error: Package `tinymist-std v0.12.20 (/build/source/crates/tinymist-std)` does not have feature `wasm-bindgen`. 34 + # It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name. 35 + # https://github.com/Myriad-Dreamin/tinymist/pull/1363 36 + (fetchpatch { 37 + name = "fix-cargo-features"; 38 + url = "https://github.com/Myriad-Dreamin/tinymist/pull/1363/commits/96e0a15fa20f09734f2b8152977a1137f5469761.patch"; 39 + hash = "sha256-W3HzV0GGhGuX/V4rox32LSw6YJ2BLTAG16bF2pZ+xYs="; 40 + }) 41 + ]; 42 + 30 43 useFetchCargoVendor = true; 31 - cargoHash = "sha256-D4UWFg22lnkqozsWAQydNSnOpDlw5AUhGCHHfuyihfU="; 44 + cargoHash = "sha256-mk6JQEDgY8ERKq7dy+HlU7go4ImeJpGONOBSjjHdD4g="; 32 45 33 46 nativeBuildInputs = [ 34 47 installShellFiles