Hi! I am trying to install vscode
through home-manager. On attempting switch, I get this error:
trying https://vscode-update.azurewebsites.net/1.45.0/linux-x64/stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
error: cannot download VSCode_1.45.0_linux-x64.tar.gz from any mirror
Indeed, the URL it’s trying does not work. However, the URL I see on nixpkgs master does work.
The wrong URL appears in both my nixpkgs channel (nixpkgs-21.05pre275813.c5147860e23) and my nixos channel (nixos-20.03.3325.462c6fe4b11).
Three questions:
- Why are the VSCode fetch URLs wrong in my channels?
- What can I do to fix it in the immediate term? (I assume via something like an overlay?)
- What can I do to fix it in the longer term? (Send a PR with the good URL?)
Thanks!