vscode: fix download url

Fixes #22465.
This commit is contained in:
Gabriel Ebner 2017-02-06 08:29:49 +01:00
parent 8c40604459
commit d77d31b312

View file

@ -3,9 +3,12 @@
let
version = "1.9.0";
rev = "38746938a4ab94f2f57d9e1309c51fd6fb37553d";
rev = "27240e71ef390bf2d66307e677c2a333cebf75af";
channel = "stable";
# The revision can be obtained with the following command (see https://github.com/NixOS/nixpkgs/issues/22465):
# curl -w "%{url_effective}\n" -I -L -s -S https://vscode-update.azurewebsites.net/latest/linux-x64/stable -o /dev/null
sha256 = if stdenv.system == "i686-linux" then "05f1sk2lq2skp8fxq6q229kf89vi2sq3zz6lywq7nk81pwvp8jap"
else if stdenv.system == "x86_64-linux" then "0wj17lwq8f88xvfa6wfbqm580kp0470ib2yxn15j9mv0iw7nzqry"
else if stdenv.system == "x86_64-darwin" then "1k067h099j6fv820nn6h4i8ax35yvd1h8f4h5216dm66cpikv7nd"