opensnitch: fix daemon cant find iptables in PATH

This commit is contained in:
Jonas Heinrich 2021-12-10 11:00:25 +01:00
parent a05790a5bf
commit 4d6cb6b4c8

View file

@ -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"
'';