From 110dfca98896cda1599eb873aef623c7bd9c92de Mon Sep 17 00:00:00 2001 From: Daniel Fullmer Date: Sat, 27 Feb 2016 22:13:30 -0500 Subject: [PATCH] zerotierone: hardcoded path fix New code in zerotier broke the previous substitution where we refer to the correct path for "ip". --- pkgs/tools/networking/zerotierone/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/zerotierone/default.nix b/pkgs/tools/networking/zerotierone/default.nix index e2ba2102d76b..9f5f777a239b 100644 --- a/pkgs/tools/networking/zerotierone/default.nix +++ b/pkgs/tools/networking/zerotierone/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { substituteInPlace ./make-linux.mk \ --replace 'CXX=$(shell which clang++ g++ c++ 2>/dev/null | head -n 1)' "CC=${gcc}/bin/g++"; substituteInPlace ./osdep/LinuxEthernetTap.cpp \ - --replace '/sbin/ip' "${iproute}/bin/ip" + --replace 'execlp("ip",' 'execlp("${iproute}/bin/ip",' ''; buildInputs = [ openssl lzo zlib gcc iproute ];