mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
samba: fix broken tarball URLs
Samba and cifs-utils source tarballs have been silently moved to
https://download.samba.org/ without redirects.
(cherry picked from commit cdc2e32ea4)
This commit is contained in:
committed by
Morgan Jones
parent
eb72ea0b5c
commit
2afbfbb314
@@ -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=";
|
||||
};
|
||||
|
||||
|
||||
@@ -82,7 +82,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=";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user