iproute2: Update the source hash

A new archive was uploaded to fix the version string.
This commit is contained in:
Michael Weiss 2020-12-21 22:22:30 +01:00
parent e1c2ee0555
commit b9ede6493f
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83

View File

@ -9,15 +9,12 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz";
sha256 = "15pfijbiyv0adrchj3v379w898gxsji33q4ly0k7s22vd93wj20m";
sha256 = "1sakmhvh40gh4x55vzgy6cyvizqkhqalcfpvs6r0c14w62p38jm5";
};
preConfigure = ''
# Don't try to create /var/lib/arpd:
sed -e '/ARPDDIR/d' -i Makefile
# TODO: Drop temporary version fix once 5.11 is out (hopefully :D):
substituteInPlace include/version.h \
--replace "5.9.0" "${version}"
'';
outputs = [ "out" "dev" ];