Skip to content

Commit d77d31b

Browse files
committedFeb 6, 2017
vscode: fix download url
Fixes #22465.
1 parent 8c40604 commit d77d31b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎pkgs/applications/editors/vscode/default.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33

44
let
55
version = "1.9.0";
6-
rev = "38746938a4ab94f2f57d9e1309c51fd6fb37553d";
6+
rev = "27240e71ef390bf2d66307e677c2a333cebf75af";
77
channel = "stable";
88

9+
# The revision can be obtained with the following command (see https://github.com/NixOS/nixpkgs/issues/22465):
10+
# curl -w "%{url_effective}\n" -I -L -s -S https://vscode-update.azurewebsites.net/latest/linux-x64/stable -o /dev/null
11+
912
sha256 = if stdenv.system == "i686-linux" then "05f1sk2lq2skp8fxq6q229kf89vi2sq3zz6lywq7nk81pwvp8jap"
1013
else if stdenv.system == "x86_64-linux" then "0wj17lwq8f88xvfa6wfbqm580kp0470ib2yxn15j9mv0iw7nzqry"
1114
else if stdenv.system == "x86_64-darwin" then "1k067h099j6fv820nn6h4i8ax35yvd1h8f4h5216dm66cpikv7nd"

0 commit comments

Comments
 (0)
Please sign in to comment.