diff options
author | Damien Diederen <dd@crosstwine.com> | 2023-09-28 20:54:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 20:54:54 +0200 |
commit | b5213d5b0f6bda0fe098ff98890599ff63dfdd5f (patch) | |
tree | 9886d9a4c270fec1912e3b56678b9ba4141e675a /pkgs/os-specific/linux/pax-utils | |
parent | d90e8fdfb7ea4885907c1570877197160cff2d44 (diff) |
treewide: fix invalid gentoo/distfiles urls (#257808)
* nettools: fix url; avoid gentoo/distfiles which now uses hashed directories * pax-utils: fix url; avoid gentoo/distfiles which now uses hashed directories The project doesn't seem to publish the exact tarball which was relied on, but we can fetch the sources from the original repository. (This implies some rebuilds.) * mtx: fix url; avoid gentoo/distfiles which now uses hashed directories * vlan: fix url; avoid gentoo/distfiles which now uses hashed directories
Diffstat (limited to 'pkgs/os-specific/linux/pax-utils')
-rw-r--r-- | pkgs/os-specific/linux/pax-utils/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/pax-utils/default.nix b/pkgs/os-specific/linux/pax-utils/default.nix index 1d27cf80e4dac..dcecfa4c13b85 100644 --- a/pkgs/os-specific/linux/pax-utils/default.nix +++ b/pkgs/os-specific/linux/pax-utils/default.nix @@ -1,6 +1,6 @@ { stdenv , lib -, fetchurl +, fetchgit , buildPackages , docbook_xml_dtd_44 , docbook_xsl @@ -18,9 +18,10 @@ stdenv.mkDerivation rec { pname = "pax-utils"; version = "1.3.7"; - src = fetchurl { - url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz"; - sha256 = "sha256-EINi0pZo0lz3sMrcY7FaTBz8DbxxrcFRszxf597Ok5o="; + src = fetchgit { + url = "https://anongit.gentoo.org/git/proj/pax-utils.git"; + rev = "v${version}"; + hash = "sha256-WyNng+UtfRz1+Eu4gwXLxUvBAg+m3mdrc8GdEPYRKVE="; }; strictDeps = true; |