Merge pull request #62224 from aanderse/ddclient

ddclient: fix fallout from #62068
This commit is contained in:
Vladyslav M 2019-05-29 21:36:32 +03:00 committed by GitHub
commit c9def6dbfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = ''