vtsls: 0.2.8 -> 0.2.9 (#409143)

This commit is contained in:
Pol Dellaiera 2025-05-21 03:24:26 +00:00 committed by GitHub
commit efb042f57e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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