mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
iproute: 5.8.0 -> 5.9.0 (#100761)
File changes (additions/removals): None
This commit is contained in:
parent
5aca3498a6
commit
01ec8c0999
@ -5,19 +5,19 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "iproute2";
|
pname = "iproute2";
|
||||||
version = "5.8.0";
|
version = "5.9.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz";
|
url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0vk4vickrpahdhl3zazr2qn2bf99v5549ncirjpwiy4h0a4izkfg";
|
sha256 = "1kys6dmhrl43iaq95n5sh02p39d7bq8i5y672qrzgwnwpjaaqpd2";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# Don't try to create /var/lib/arpd:
|
# Don't try to create /var/lib/arpd:
|
||||||
sed -e '/ARPDDIR/d' -i Makefile
|
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 \
|
substituteInPlace include/version.h \
|
||||||
--replace "v5.7.0-77-gb687d1067169" "5.8.0"
|
--replace "5.8.0" "${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user