opensnitch: fix daemon cant find iptables in PATH
This commit is contained in:
parent
a05790a5bf
commit
4d6cb6b4c8
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ buildGoModule rec {
|
|||
mv $GOPATH/bin/daemon $GOPATH/bin/opensnitchd
|
||||
mkdir -p $out/lib/systemd/system
|
||||
substitute opensnitchd.service $out/lib/systemd/system/opensnitchd.service \
|
||||
--replace "/usr/local/bin/opensnitchd" "${out}/bin/opensnitchd" \
|
||||
--replace "/usr/local/bin/opensnitchd" "$out/bin/opensnitchd" \
|
||||
--replace "/etc/opensnitchd/rules" "/var/lib/opensnitch/rules" \
|
||||
--replace "/bin/mkdir" "${coreutils}/bin/mkdir"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue