zerotierone: fix route handling on Linux (#45391)
Add some substitutions for the ip calls in ManagedRoutes. Fixes #45022
This commit is contained in:
parent
f0957b9477
commit
c28898dc70
@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
substituteInPlace ./osdep/ManagedRoute.cpp \
|
||||||
|
--replace '/usr/sbin/ip' '${iproute}/bin/ip'
|
||||||
|
|
||||||
|
substituteInPlace ./osdep/ManagedRoute.cpp \
|
||||||
|
--replace '/sbin/ip' '${iproute}/bin/ip'
|
||||||
|
|
||||||
substituteInPlace ./osdep/LinuxEthernetTap.cpp \
|
substituteInPlace ./osdep/LinuxEthernetTap.cpp \
|
||||||
--replace 'execlp("ip",' 'execlp("${iproute}/bin/ip",'
|
--replace 'execlp("ip",' 'execlp("${iproute}/bin/ip",'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user