summary refs log tree commit diff
path: root/pkgs/tools/networking/ddclient
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-03-14 17:05:16 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-04-04 01:43:46 +0200
commit9378fdf87e0626e8c63a90a378c38444ff54808b (patch)
treea177c25e5f9b1bb63916f3d901a4da6c289245e5 /pkgs/tools/networking/ddclient
parentdd9862ba9831195f58421a7ff23388c92cd5a8e5 (diff)
downloadnixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.gz
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.bz2
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.lz
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.xz
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.zst
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.zip
iproute: deprecate alias
Diffstat (limited to 'pkgs/tools/networking/ddclient')
-rw-r--r--pkgs/tools/networking/ddclient/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/networking/ddclient/default.nix b/pkgs/tools/networking/ddclient/default.nix
index 51454ac1197..f62eba66f99 100644
--- a/pkgs/tools/networking/ddclient/default.nix
+++ b/pkgs/tools/networking/ddclient/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchurl, perlPackages, iproute, perl }:
+{ lib, fetchurl, perlPackages, iproute2, perl }:
 
 perlPackages.buildPerlPackage rec {
   pname = "ddclient";
@@ -19,8 +19,8 @@ perlPackages.buildPerlPackage rec {
     touch Makefile.PL
     substituteInPlace ddclient \
       --replace 'in the output of ifconfig' 'in the output of ip addr show' \
-      --replace 'ifconfig -a' '${iproute}/sbin/ip addr show' \
-      --replace 'ifconfig $arg' '${iproute}/sbin/ip addr show $arg' \
+      --replace 'ifconfig -a' '${iproute2}/sbin/ip addr show' \
+      --replace 'ifconfig $arg' '${iproute2}/sbin/ip addr show $arg' \
       --replace '/usr/bin/perl' '${perl}/bin/perl' # Until we get the patchShebangs fixed (issue #55786) we need to patch this manually
   '';