zerotierone: hardcoded path fix
New code in zerotier broke the previous substitution where we refer to
the correct path for "ip".
commit110dfca98896cda1599eb873aef623c7bd9c92de
authorDaniel Fullmer <daniel.fullmer@yale.edu>
dateSat 27 Feb 2016, 22:13 (11 years ago)
parent40c586b
pkgs/tools/networking/zerotierone/default.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 substituteInPlace ./make-linux.mk \
1818 --replace 'CXX=$(shell which clang++ g++ c++ 2>/dev/null | head -n 1)' "CC=${gcc}/bin/g++";
1919 substituteInPlace ./osdep/LinuxEthernetTap.cpp \
20− --replace '/sbin/ip' "${iproute}/bin/ip"
20+ --replace 'execlp("ip",' 'execlp("${iproute}/bin/ip",'
2121 '';
2222
2323 buildInputs = [ openssl lzo zlib gcc iproute ];