summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAlexey Shmalko <rasen.dubi@gmail.com>2018-12-14 00:36:47 +0200
committerGitHub <noreply@github.com>2018-12-14 00:36:47 +0200
commit7aad64b0f34febc6e5d7f88f098f8e69f0164d2b (patch)
tree1b842efdbe641c09a27a1b4afea75d4ca1104fac /pkgs
parent6ccc922e1d24e86d253a2387c0afdaa6c06ce7d6 (diff)
parentdcb5c0cd823a1a57467a72ceb0cd7c8185ec8534 (diff)
downloadnixpkgs-7aad64b0f34febc6e5d7f88f098f8e69f0164d2b.tar
nixpkgs-7aad64b0f34febc6e5d7f88f098f8e69f0164d2b.tar.gz
nixpkgs-7aad64b0f34febc6e5d7f88f098f8e69f0164d2b.tar.bz2
nixpkgs-7aad64b0f34febc6e5d7f88f098f8e69f0164d2b.tar.lz
nixpkgs-7aad64b0f34febc6e5d7f88f098f8e69f0164d2b.tar.xz
nixpkgs-7aad64b0f34febc6e5d7f88f098f8e69f0164d2b.tar.zst
nixpkgs-7aad64b0f34febc6e5d7f88f098f8e69f0164d2b.zip
Merge pull request #51949 from Synthetica9/sublime-url-fix
sublime: add new download url
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/editors/sublime/2/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/applications/editors/sublime/2/default.nix b/pkgs/applications/editors/sublime/2/default.nix
index 11724d9802a..24639f3bfd4 100644
--- a/pkgs/applications/editors/sublime/2/default.nix
+++ b/pkgs/applications/editors/sublime/2/default.nix
@@ -9,13 +9,19 @@ stdenv.mkDerivation rec {
     if stdenv.hostPlatform.system == "i686-linux" then
       fetchurl {
         name = "sublimetext-2.0.2.tar.bz2";
-        url = http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2;
+        url = [
+          http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2
+          https://download.sublimetext.com/Sublime%20Text%202.0.2.tar.bz2
+        ];
         sha256 = "026g5mppk28lzzzn9ibykcqkrd5msfmg0sc0z8w8jd7v3h28wcq7";
       }
     else
       fetchurl {
         name = "sublimetext-2.0.2.tar.bz2";
-        url = http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2;
+        url = [
+          http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2
+          https://download.sublimetext.com/Sublime%20Text%202.0.2%20x64.tar.bz2
+        ];
         sha256 = "115b71nbv9mv8cz6bkjwpbdf2ywnjc1zy2d3080f6ck4sqqfvfh1";
       };
   buildCommand = ''