3
0
Fork 0
forked from mirrors/nixpkgs

zerotierone: hardcoded path fix

New code in zerotier broke the previous substitution where we refer to
the correct path for "ip".
This commit is contained in:
Daniel Fullmer 2016-02-27 22:13:30 -05:00
parent 40c586b7ce
commit 110dfca988

View file

@ -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 ];