From cb9fe8ceadbf9149f506574095ef3645d6b36909 Mon Sep 17 00:00:00 2001 From: Sebastian Hagen Date: Mon, 3 Jul 2017 02:53:13 +0100 Subject: [PATCH] Mariadb: Fix URL for source tarball. mariadb.org appears to have changed their URL schemes, and the tarball URL used by this derivation no longer works, which makes this unbuildable from scratch. This change updates that URL to a mariadb.org location that will still serve this tarball. Hash is unchanged. --- pkgs/servers/sql/mariadb/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/sql/mariadb/default.nix b/pkgs/servers/sql/mariadb/default.nix index 4f64afe3d92b..1356915c1fac 100644 --- a/pkgs/servers/sql/mariadb/default.nix +++ b/pkgs/servers/sql/mariadb/default.nix @@ -18,8 +18,9 @@ common = rec { # attributes common to both builds version = "10.1.21"; src = fetchurl { - url = "https://downloads.mariadb.org/interstitial/mariadb-${version}/source/mariadb-${version}.tar.gz"; + url = "https://downloads.mariadb.org/f/mariadb-${version}/source/mariadb-${version}.tar.gz/from/http%3A//ftp.hosteurope.de/mirror/archive.mariadb.org/?serve"; sha256 = "144lcm5awcf0k6a7saqfr4p2kg8r5wbdhdm4cmn2m8hyg1an70as"; + name = "mariadb-${version}.tar.gz"; }; prePatch = ''