3
0
Fork 0
forked from mirrors/nixpkgs

iproute: 5.8.0 -> 5.9.0 (#100761)

File changes (additions/removals):
None
This commit is contained in:
Michael Weiss 2020-10-18 13:31:27 +02:00 committed by GitHub
parent 5aca3498a6
commit 01ec8c0999
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.8.0";
version = "5.9.0";
src = fetchurl {
url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz";
sha256 = "0vk4vickrpahdhl3zazr2qn2bf99v5549ncirjpwiy4h0a4izkfg";
sha256 = "1kys6dmhrl43iaq95n5sh02p39d7bq8i5y672qrzgwnwpjaaqpd2";
};
preConfigure = ''
# Don't try to create /var/lib/arpd:
sed -e '/ARPDDIR/d' -i Makefile
# TODO: Drop temporary version fix for 5.8 (53159d81) once 5.9 is out:
# TODO: Drop temporary version fix for 5.9 once 5.10 is out:
substituteInPlace include/version.h \
--replace "v5.7.0-77-gb687d1067169" "5.8.0"
--replace "5.8.0" "${version}"
'';
outputs = [ "out" "dev" ];