mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
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:
parent
40c586b7ce
commit
110dfca988
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user