ddclient: patch unpure /usr/bin/perl
This commit is contained in:
parent
0ca30f22f1
commit
5a5a597a3f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perlPackages, iproute }:
|
{ stdenv, fetchurl, perlPackages, iproute, perl }:
|
||||||
|
|
||||||
perlPackages.buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
name = "ddclient-${version}";
|
name = "ddclient-${version}";
|
||||||
@ -20,7 +20,9 @@ perlPackages.buildPerlPackage rec {
|
|||||||
substituteInPlace ddclient \
|
substituteInPlace ddclient \
|
||||||
--replace 'in the output of ifconfig' 'in the output of ip addr show' \
|
--replace 'in the output of ifconfig' 'in the output of ip addr show' \
|
||||||
--replace 'ifconfig -a' '${iproute}/sbin/ip addr show' \
|
--replace 'ifconfig -a' '${iproute}/sbin/ip addr show' \
|
||||||
--replace 'ifconfig $arg' '${iproute}/sbin/ip addr show $arg'
|
--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'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user