Skip to content

Commit

Permalink
Merge pull request NixOS#249405 from figsoda/typst-lsp
Browse files Browse the repository at this point in the history
typst-lsp: 0.9.1 -> 0.9.2
  • Loading branch information
NickCao authored Aug 16, 2023
2 parents f57c789 + 414110e commit 88362a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/tools/language-servers/typst-lsp/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions pkgs/development/tools/language-servers/typst-lsp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

rustPlatform.buildRustPackage rec {
pname = "typst-lsp";
version = "0.9.1";
version = "0.9.2";

src = fetchFromGitHub {
owner = "nvarner";
repo = "typst-lsp";
rev = "v${version}";
hash = "sha256-vzywUbfLyogJhjybiUEGJ2XESjDWE2fMfHM0uJxZC38=";
hash = "sha256-l69/8XhIvGYcvtoCE7+hfp810F3uBVvxqZnA12o8HCg=";
};

cargoLock = {
Expand All @@ -32,6 +32,11 @@ rustPlatform.buildRustPackage rec {
"--skip=workspace::package::external::remote_repo::test::full_download"
];

# workspace::package::external::manager::test::local_package tries to access the data directory
preCheck = ''
export HOME=$(mktemp -d)
'';

meta = with lib; {
description = "A brand-new language server for Typst";
homepage = "https://github.com/nvarner/typst-lsp";
Expand Down

0 comments on commit 88362a7

Please sign in to comment.