git.iko.soy/typeable/nixpkgs
on master help sign in
zerotierone: hardcoded path fix
110dfcaDaniel Fullmer
pkgs/tools/networking/zerotierone/default.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
17 substituteInPlace ./make-linux.mk \
17 substituteInPlace ./make-linux.mk \
18 --replace 'CXX=$(shell which clang++ g++ c++ 2>/dev/null | head -n 1)' "CC=${gcc}/bin/g++";
18 --replace 'CXX=$(shell which clang++ g++ c++ 2>/dev/null | head -n 1)' "CC=${gcc}/bin/g++";
19 substituteInPlace ./osdep/LinuxEthernetTap.cpp \
19 substituteInPlace ./osdep/LinuxEthernetTap.cpp \
20− --replace '/sbin/ip' "${iproute}/bin/ip"
20+ --replace 'execlp("ip",' 'execlp("${iproute}/bin/ip",'
21 '';
21 '';
22
22
23 buildInputs = [ openssl lzo zlib gcc iproute ];
23 buildInputs = [ openssl lzo zlib gcc iproute ];