3
0
Fork 0
forked from mirrors/nixpkgs

iproute2: 5.9.0 -> 5.10.0 (#107319)

This commit is contained in:
Michael Weiss 2020-12-21 15:22:56 +01:00 committed by GitHub
parent 4454fecc85
commit 21bb0f56c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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