summary refs log tree commit diff
path: root/pkgs/tools/networking/opensnitch
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2021-12-10 11:00:25 +0100
committerJonas Heinrich <onny@project-insanity.org>2021-12-10 11:00:25 +0100
commit4d6cb6b4c8ebc35d848fe0ef5cda1ce5fcd6e072 (patch)
tree16c9c78f8c5a001203474f6039de0e2b041ee1ac /pkgs/tools/networking/opensnitch
parenta05790a5bfb79e1284f00101d14f1c7da2c3a973 (diff)
downloadnixpkgs-4d6cb6b4c8ebc35d848fe0ef5cda1ce5fcd6e072.tar
nixpkgs-4d6cb6b4c8ebc35d848fe0ef5cda1ce5fcd6e072.tar.gz
nixpkgs-4d6cb6b4c8ebc35d848fe0ef5cda1ce5fcd6e072.tar.bz2
nixpkgs-4d6cb6b4c8ebc35d848fe0ef5cda1ce5fcd6e072.tar.lz
nixpkgs-4d6cb6b4c8ebc35d848fe0ef5cda1ce5fcd6e072.tar.xz
nixpkgs-4d6cb6b4c8ebc35d848fe0ef5cda1ce5fcd6e072.tar.zst
nixpkgs-4d6cb6b4c8ebc35d848fe0ef5cda1ce5fcd6e072.zip
opensnitch: fix daemon cant find iptables in PATH
Diffstat (limited to 'pkgs/tools/networking/opensnitch')
-rw-r--r--pkgs/tools/networking/opensnitch/daemon.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/opensnitch/daemon.nix b/pkgs/tools/networking/opensnitch/daemon.nix
index b15670474ef..2ebf9425f0e 100644
--- a/pkgs/tools/networking/opensnitch/daemon.nix
+++ b/pkgs/tools/networking/opensnitch/daemon.nix
@@ -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"
   '';