From 5a5a597a3f7b548ca2bf5596fc47b13b5373f76d Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Sat, 25 May 2019 20:15:03 +0000 Subject: [PATCH] ddclient: patch unpure /usr/bin/perl --- pkgs/tools/networking/ddclient/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/ddclient/default.nix b/pkgs/tools/networking/ddclient/default.nix index 0a44adbbec2d..20a22723c7fa 100644 --- a/pkgs/tools/networking/ddclient/default.nix +++ b/pkgs/tools/networking/ddclient/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, perlPackages, iproute }: +{ stdenv, fetchurl, perlPackages, iproute, perl }: perlPackages.buildPerlPackage rec { name = "ddclient-${version}"; @@ -20,7 +20,9 @@ perlPackages.buildPerlPackage rec { 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 $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 = ''