From cdc2e32ea44cc80433848f75607ca5a76d613310 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Sat, 30 Nov 2024 01:27:59 +0900 Subject: [PATCH] samba: fix broken tarball URLs Samba and cifs-utils source tarballs have been silently moved to https://download.samba.org/ without redirects. --- pkgs/by-name/ci/cifs-utils/package.nix | 2 +- pkgs/servers/samba/4.x.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ci/cifs-utils/package.nix b/pkgs/by-name/ci/cifs-utils/package.nix index b96298aa2cd96..0deb89ea46bcb 100644 --- a/pkgs/by-name/ci/cifs-utils/package.nix +++ b/pkgs/by-name/ci/cifs-utils/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { version = "7.1"; src = fetchurl { - url = "mirror://samba/pub/linux-cifs/cifs-utils/${pname}-${version}.tar.bz2"; + url = "https://download.samba.org/pub/linux-cifs/cifs-utils/${pname}-${version}.tar.bz2"; sha256 = "sha256-ohEj92pKajbJZTGJukkY6988/NP5CScwpH/zRQtbWyo="; }; diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix index 8158c3d2d32ba..2b06fb9175a0d 100644 --- a/pkgs/servers/samba/4.x.nix +++ b/pkgs/servers/samba/4.x.nix @@ -68,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: { version = "4.20.4"; src = fetchurl { - url = "mirror://samba/pub/samba/stable/samba-${finalAttrs.version}.tar.gz"; + url = "https://download.samba.org/pub/samba/stable/samba-${finalAttrs.version}.tar.gz"; hash = "sha256-OpLpfq6zRbazIjL1A+FNNPA6eqZMRR/owlihG72pCOU="; };