File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55 nodejs_22 ,
66 gitMinimal ,
7+ gitSetupHook ,
78 pnpm_8 ,
89 nix-update-script ,
910} :
1011
1112stdenv . 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
You can’t perform that action at this time.
0 commit comments