diff --git a/pkgs/by-name/vt/vtsls/package.nix b/pkgs/by-name/vt/vtsls/package.nix index a86289d68745..c35f81ce69f1 100644 --- a/pkgs/by-name/vt/vtsls/package.nix +++ b/pkgs/by-name/vt/vtsls/package.nix @@ -4,19 +4,20 @@ fetchFromGitHub, nodejs_22, gitMinimal, + gitSetupHook, pnpm_8, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "vtsls"; - version = "0.2.8"; + version = "0.2.9"; src = fetchFromGitHub { owner = "yioneko"; repo = "vtsls"; - rev = "server-v${finalAttrs.version}"; - hash = "sha256-Ng+aOBnxFRbMjoUy6+DvIk2yVpvJT+AMsbvDb+IlYpY="; + tag = "server-v${finalAttrs.version}"; + hash = "sha256-vlw84nigvQqRB9OQBxOmrR9CClU9M4dNgF/nrvGN+sk="; fetchSubmodules = true; }; @@ -24,6 +25,7 @@ stdenv.mkDerivation (finalAttrs: { nodejs_22 # patches are applied with git during build gitMinimal + gitSetupHook pnpm_8.configHook ]; @@ -38,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { src version ; - hash = "sha256-xenPpKsIjEIyVeZDjwjLaBbpWLqWQDBaLLfyzxtrsTI="; + hash = "sha256-SdqeTYRH60CyU522+nBo0uCDnzxDP48eWBAtGTL/pqg="; }; # Patches to get submodule sha from file instead of 'git submodule status' @@ -50,10 +52,6 @@ stdenv.mkDerivation (finalAttrs: { buildPhase = '' runHook preBuild - # During build vtsls needs a working git installation. - git config --global user.name nixbld - git config --global user.email nixbld@example.com - # during build this sha is used as a marker to skip applying patches and # copying files, which doesn't matter in this case echo "dummysha" > ./packages/service/HEAD