1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

ddclient: fix fallout from #62068

This commit is contained in:
Aaron Andersen 2019-05-29 11:51:17 -04:00
parent d9d5c8d7dc
commit caa4d272fb

View file

@ -19,10 +19,9 @@ 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' \
# Until we get the patchShebangs fixed (issue #55786) we need to patch this manually
--replace '/usr/bin/perl' '${perl}/bin/perl'
--replace 'ifconfig -a' '${iproute}/sbin/ip addr show' \
--replace 'ifconfig $arg' '${iproute}/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
'';
installPhase = ''