iputils: Increase the priority to avoid collisions with inetutils (#78408)

The ping binary will be from iputils anyway since it's installed in
/run/wrappers/bin/ (first in $PATH) and tftpd will be from iputils as
well since inetutils installs it into libexec (not in $PATH).

Therefore, there's not even a real choice here (though we should most
likely prefer iputils anyway).

Current collisions:
collision between `/nix/store/...-iputils-20190709/bin/ping' and `/nix/store/...-inetutils-1.9.4/bin/ping'
collision between `/nix/store/...-iputils-20190709/share/man/man8/tftpd.8.gz' and `/nix/store/...-inetutils-1.9.4/share/man/man8/tftpd.8.gz'
This commit is contained in:
Michael Weiss 2020-01-24 19:05:23 +01:00 committed by GitHub
parent 89864a01d1
commit 24b7d0de7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16259,7 +16259,8 @@ in
iproute_mptcp = callPackage ../os-specific/linux/iproute/mptcp.nix { };
iputils = callPackage ../os-specific/linux/iputils { };
iputils = hiPrio (callPackage ../os-specific/linux/iputils { });
# hiPrio for collisions with inetutils (ping and tftpd.8.gz)
iptables = iptables-legacy;
iptables-legacy = callPackage ../os-specific/linux/iptables { };