summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2018-12-13 17:16:52 +0100
committerPatrick Hilhorst <git@hilhorst.be>2018-12-13 17:19:26 +0100
commitdcb5c0cd823a1a57467a72ceb0cd7c8185ec8534 (patch)
treee0471dee57f22e8b8882d8ab39a6939bf1c0c97d /pkgs
parent2232135cf9cfe41a94f969bd4d18a0615715adfe (diff)
downloadnixpkgs-dcb5c0cd823a1a57467a72ceb0cd7c8185ec8534.tar
nixpkgs-dcb5c0cd823a1a57467a72ceb0cd7c8185ec8534.tar.gz
nixpkgs-dcb5c0cd823a1a57467a72ceb0cd7c8185ec8534.tar.bz2
nixpkgs-dcb5c0cd823a1a57467a72ceb0cd7c8185ec8534.tar.lz
nixpkgs-dcb5c0cd823a1a57467a72ceb0cd7c8185ec8534.tar.xz
nixpkgs-dcb5c0cd823a1a57467a72ceb0cd7c8185ec8534.tar.zst
nixpkgs-dcb5c0cd823a1a57467a72ceb0cd7c8185ec8534.zip
sublime: add new download url
The old one gave a 404. I left it there for if it ever comes back
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 = ''