Skip to content

Commit

Permalink
vscode: fix download url
Browse files Browse the repository at this point in the history
Fixes #22465.
  • Loading branch information
gebner committed Feb 6, 2017
1 parent 8c40604 commit d77d31b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/applications/editors/vscode/default.nix
Expand Up @@ -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"
Expand Down

0 comments on commit d77d31b

Please sign in to comment.