Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ddclient: patch unpure /usr/bin/perl #62068

Merged
merged 1 commit into from
May 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions pkgs/tools/networking/ddclient/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perlPackages, iproute }:
{ stdenv, fetchurl, perlPackages, iproute, perl }:

perlPackages.buildPerlPackage rec {
name = "ddclient-${version}";
Expand All @@ -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'
aanderse marked this conversation as resolved.
Show resolved Hide resolved
'';

installPhase = ''
Expand Down