electron
dependency is swapped with electronNM
at packaging.
Minify is disabled by default (see bottom of build()
).
Git Clone URL: | https://aur.archlinux.org/code-git.git (read-only, click to copy) |
---|---|
Package Base: | code-git |
Description: | OSS version of Visual Studio Code editor |
Upstream URL: | https://github.com/microsoft/vscode |
Keywords: | vscode |
Licenses: | MIT |
Conflicts: | code, vscode |
Provides: | code, vscode |
Submitter: | Zrax |
Maintainer: | oech3 |
Last Packager: | oech3 |
Votes: | 17 |
Popularity: | 0.000000 |
First Submitted: | 2017-12-18 23:10 (UTC) |
Last Updated: | 2025-06-24 02:23 (UTC) |
electron
dependency is swapped with electronNM
at packaging.
Minify is disabled by default (see bottom of build()
).
Did a sync with the repo PKGBUILD. Mostly done because of updating the electron version and the general changes since 1.6x.
This change may disturb some old behaviour, so this should be seen as a new base for someone to tinker. Hopefully by someone who uses this package.
prepare()
is working, build()
currently fails for me, because it cannot download the electron version.
Build failes because it requires 16<=nodejs<=17, switch make dep to nodejs-lts-gallium.
Patches for product.json seem to be outdated for commit #b8c8180
==> Starting prepare()...
patching file product.json
patching file product.json
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file product.json.rej
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'code-git-1.64.0.r92385.ga8539362921-1':
@chovy: Fixed, thanks
ln: failed to create symbolic link '/home/ettinger/.cache/yay/code-git/pkg/code-git/usr/lib/code-git/node_modules.asar.unpacked/vscode-ripgrep/bin/rg': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... -> error making: code-git
Please use 'nodejs' as makedepends:
==> Rozpoczynanie build()... yarn install v1.22.10 $ node build/npm/preinstall.js *** Please use node.js versions >=14 and <=17.
Yes, Microsoft changed the name of their development branch to main
, and deleted master
. Therefore, you'll need to update the vscode bare repo in your working directory:
cd vscode && git symbolic-ref HEAD refs/heads/main
Or alternatively, just delete the vscode
directory and rebuild to clone a fresh copy with the correct default branch.
https://github.com/microsoft/vscode/commit/980becda8d52cc341ddf349021bbda0788912b4d
Renders the current PKGBUILD broken I think since this is the result:
==> Extracting sources...
-> Creating working copy of vscode git repo...
Cloning into 'vscode'...
done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
Pinned Comments
oech3 commented on 2025-05-19 11:39 (UTC) (edited on 2025-05-21 13:40 (UTC) by oech3)
electron
dependency is swapped withelectronNM
at packaging.Minify is disabled by default (see
bottom of build()
).