diff --git a/pkgs/applications/editors/vscode/default.nix b/pkgs/applications/editors/vscode/default.nix index f5b204b074e..134dc397e06 100644 --- a/pkgs/applications/editors/vscode/default.nix +++ b/pkgs/applications/editors/vscode/default.nix @@ -1,19 +1,18 @@ { stdenv, lib, callPackage, fetchurl, unzip, atomEnv, makeDesktopItem }: - let - version = "0.10.10"; - rev = "5b5f4db87c10345b9d5c8d0bed745bcad4533135"; - sha256 = if stdenv.system == "i686-linux" then "1mmgq4fxi2h4hvz7yxgzzyvlznkb42qwr8i1g2b1akdlgnrvvpby" - else if stdenv.system == "x86_64-linux" then "1zjb6mys5qs9mb21rpgpnbgq4gpnw6gsgfn5imf7ca7myk1bxnvk" - else if stdenv.system == "x86_64-darwin" then "0y1as2s6nhicyvdfszphhqp76iv9wcygglrl2f0jamm98g9qp66p" + version = "1.0.0"; + rev = "fa6d0f03813dfb9df4589c30121e9fcffa8a8ec8"; + + sha256 = if stdenv.system == "i686-linux" then "1nnsvr51k8cmq8rccksylam4ww40pdn9dnhnp9096z5ccrf4qa1b" + else if stdenv.system == "x86_64-linux" then "0p408pp2il6kawfsql8n5dvl75kmf2n2p0r266mjnww6vprmq4gw" + else if stdenv.system == "x86_64-darwin" then "06k41ljfvgyxbl364jlkdjk8lkwr6bpq2r051vin93cnqfxridkq" else throw "Unsupported system: ${stdenv.system}"; urlMod = if stdenv.system == "i686-linux" then "linux-ia32" else if stdenv.system == "x86_64-linux" then "linux-x64" else if stdenv.system == "x86_64-darwin" then "darwin" else throw "Unsupported system: ${stdenv.system}"; - in stdenv.mkDerivation rec { name = "vscode-${version}";