Skip to content

Commit efb042f

Browse files
authored
vtsls: 0.2.8 -> 0.2.9 (#409143)
2 parents 4c9044c + 4d57899 commit efb042f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

pkgs/by-name/vt/vtsls/package.nix

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,28 @@
44
fetchFromGitHub,
55
nodejs_22,
66
gitMinimal,
7+
gitSetupHook,
78
pnpm_8,
89
nix-update-script,
910
}:
1011

1112
stdenv.mkDerivation (finalAttrs: {
1213
pname = "vtsls";
13-
version = "0.2.8";
14+
version = "0.2.9";
1415

1516
src = fetchFromGitHub {
1617
owner = "yioneko";
1718
repo = "vtsls";
18-
rev = "server-v${finalAttrs.version}";
19-
hash = "sha256-Ng+aOBnxFRbMjoUy6+DvIk2yVpvJT+AMsbvDb+IlYpY=";
19+
tag = "server-v${finalAttrs.version}";
20+
hash = "sha256-vlw84nigvQqRB9OQBxOmrR9CClU9M4dNgF/nrvGN+sk=";
2021
fetchSubmodules = true;
2122
};
2223

2324
nativeBuildInputs = [
2425
nodejs_22
2526
# patches are applied with git during build
2627
gitMinimal
28+
gitSetupHook
2729
pnpm_8.configHook
2830
];
2931

@@ -38,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
3840
src
3941
version
4042
;
41-
hash = "sha256-xenPpKsIjEIyVeZDjwjLaBbpWLqWQDBaLLfyzxtrsTI=";
43+
hash = "sha256-SdqeTYRH60CyU522+nBo0uCDnzxDP48eWBAtGTL/pqg=";
4244
};
4345

4446
# Patches to get submodule sha from file instead of 'git submodule status'
@@ -50,10 +52,6 @@ stdenv.mkDerivation (finalAttrs: {
5052
buildPhase = ''
5153
runHook preBuild
5254
53-
# During build vtsls needs a working git installation.
54-
git config --global user.name nixbld
55-
git config --global user.email [email protected]
56-
5755
# during build this sha is used as a marker to skip applying patches and
5856
# copying files, which doesn't matter in this case
5957
echo "dummysha" > ./packages/service/HEAD

0 commit comments

Comments
 (0)