diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index 0baa97da3d2..65e5f94c85e 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,6 +1,6 @@ # Template file for 'vscode' pkgname=vscode -version=1.74.1 +version=1.74.2 revision=1 _electronver=19.0.8 _npmver=8.6.0 @@ -12,7 +12,7 @@ maintainer="shizonic , Alex Lohr " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/microsoft/vscode/archive/refs/tags/${version}.tar.gz" -checksum=ba730c6af17aee820cf99d83df9adf3c253a5a2229f6b0124aff000f2343d325 +checksum=67635179cdcf02696938b0ddca010a1d00b8f5136ea159849c20f257a11a0dd2 nocross=yes # x64 build does not cut it, it contains native code if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then @@ -61,7 +61,11 @@ do_build() { --target=$_electronver \ --tarball=/usr/include/electron${_electronver%%.*}/node_headers.tar.gz - yarn install --frozen-lockfile --ignore-engines --arch=x64 + # ignore nodejs version checks, we can not pass it as an argument to + # yarn install because it doesn't inherit properly + echo "ignore-engines true" >> .yarnrc + + yarn install --frozen-lockfile --arch=x64 export CFLAGS="$CFLAGS -I/usr/include/node" yarn run gulp vscode-linux-x64-min