sublime: add new download url

The old one gave a 404. I left it there for if it ever comes back
This commit is contained in:
Patrick Hilhorst 2018-12-13 17:16:52 +01:00
parent 2232135cf9
commit dcb5c0cd82
No known key found for this signature in database
GPG Key ID: 589BB0A8DAFEF2B2

View File

@ -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 = ''