Merge pull request #118805 from helsinki-systems/fix/eval/no-aliases-iproute2

treewide: fix eval without aliases after 9378fdf87e0626e8c63a90a378c3…

Sandro 936f450e 5a1bd5ff

+1 -1
nixos/modules/services/cluster/kubernetes/kubelet.nix
···
gitMinimal
openssh
util-linux
-
iproute
+
iproute2
ethtool
thin-provisioning-tools
iptables
+1 -1
nixos/modules/services/networking/gvpe.nix
···
text = ''
#! /bin/sh
-
export PATH=$PATH:${pkgs.iproute}/sbin
+
export PATH=$PATH:${pkgs.iproute2}/sbin
ip link set $IFNAME up
ip address add ${cfg.ipAddress} dev $IFNAME
+3 -3
nixos/modules/services/networking/libreswan.nix
···
description = "Internet Key Exchange (IKE) Protocol Daemon for IPsec";
path = [
"${pkgs.libreswan}"
-
"${pkgs.iproute}"
+
"${pkgs.iproute2}"
"${pkgs.procps}"
"${pkgs.nssTools}"
"${pkgs.iptables}"
···
ExecStart = "${libexec}/pluto --config ${configFile} --nofork \$PLUTO_OPTIONS";
ExecStop = "${libexec}/whack --shutdown";
ExecStopPost = [
-
"${pkgs.iproute}/bin/ip xfrm policy flush"
-
"${pkgs.iproute}/bin/ip xfrm state flush"
+
"${pkgs.iproute2}/bin/ip xfrm policy flush"
+
"${pkgs.iproute2}/bin/ip xfrm state flush"
"${ipsec} --stopnflog"
];
ExecReload = "${libexec}/whack --listen";
+1 -1
nixos/modules/services/networking/mullvad-vpn.nix
···
"systemd-resolved.service"
];
path = [
-
pkgs.iproute
+
pkgs.iproute2
# Needed for ping
"/run/wrappers"
];
+1 -1
nixos/modules/services/networking/nomad.nix
···
path = cfg.extraPackages ++ (with pkgs; [
# Client mode requires at least the following:
coreutils
-
iproute
+
iproute2
iptables
]);
+1 -1
nixos/modules/services/networking/quagga.nix
···
preStart = ''
install -m 0755 -o quagga -g quagga -d /run/quagga
-
${pkgs.iproute}/bin/ip route flush proto zebra
+
${pkgs.iproute2}/bin/ip route flush proto zebra
'';
}
else
+2 -2
nixos/modules/services/networking/rxe.nix
···
Type = "oneshot";
RemainAfterExit = true;
ExecStart = map ( x:
-
"${pkgs.iproute}/bin/rdma link add rxe_${x} type rxe netdev ${x}"
+
"${pkgs.iproute2}/bin/rdma link add rxe_${x} type rxe netdev ${x}"
) cfg.interfaces;
ExecStop = map ( x:
-
"${pkgs.iproute}/bin/rdma link delete rxe_${x}"
+
"${pkgs.iproute2}/bin/rdma link delete rxe_${x}"
) cfg.interfaces;
};
};
+4 -4
nixos/modules/services/networking/wg-quick.nix
···
preUp = mkOption {
example = literalExample ''
-
${pkgs.iproute}/bin/ip netns add foo
+
${pkgs.iproute2}/bin/ip netns add foo
'';
default = "";
type = with types; coercedTo (listOf str) (concatStringsSep "\n") lines;
···
preDown = mkOption {
example = literalExample ''
-
${pkgs.iproute}/bin/ip netns del foo
+
${pkgs.iproute2}/bin/ip netns del foo
'';
default = "";
type = with types; coercedTo (listOf str) (concatStringsSep "\n") lines;
···
postUp = mkOption {
example = literalExample ''
-
${pkgs.iproute}/bin/ip netns add foo
+
${pkgs.iproute2}/bin/ip netns add foo
'';
default = "";
type = with types; coercedTo (listOf str) (concatStringsSep "\n") lines;
···
postDown = mkOption {
example = literalExample ''
-
${pkgs.iproute}/bin/ip netns del foo
+
${pkgs.iproute2}/bin/ip netns del foo
'';
default = "";
type = with types; coercedTo (listOf str) (concatStringsSep "\n") lines;
+1 -1
nixos/modules/services/system/cloud-init.nix
···
let cfg = config.services.cloud-init;
path = with pkgs; [
cloud-init
-
iproute
+
iproute2
nettools
openssh
shadow
+1 -1
nixos/modules/system/boot/initrd-openvpn.nix
···
# The shared libraries are required for DNS resolution
boot.initrd.extraUtilsCommands = ''
copy_bin_and_libs ${pkgs.openvpn}/bin/openvpn
-
copy_bin_and_libs ${pkgs.iproute}/bin/ip
+
copy_bin_and_libs ${pkgs.iproute2}/bin/ip
cp -pv ${pkgs.glibc}/lib/libresolv.so.2 $out/lib
cp -pv ${pkgs.glibc}/lib/libnss_dns.so.2 $out/lib
+1 -1
nixos/modules/tasks/network-interfaces.nix
···
environment.systemPackages =
[ pkgs.host
-
pkgs.iproute
+
pkgs.iproute2
pkgs.iputils
pkgs.nettools
+1 -1
nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix
···
# Everyone on the "isp" machine will be able to add routes to the kernel.
security.wrappers.add-dhcpd-lease = {
source = pkgs.writeShellScript "add-dhcpd-lease" ''
-
exec ${pkgs.iproute}/bin/ip -6 route replace "$1" via "$2"
+
exec ${pkgs.iproute2}/bin/ip -6 route replace "$1" via "$2"
'';
capabilities = "cap_net_admin+ep";
};