vpn-slice: add iproute2,iptables to propagatedBuildInputs

Those executables are needed for correct operation of vpn-slice
during runtime. Otherwise the error message "cannot execute
/sbin/ip" / "cannot execute /sbin/iptables" occurrs.
This commit is contained in:
Florian Warzecha
2023-10-15 15:22:52 +02:00
parent ef63989be6
commit d14eb44383
+12 -2
View File
@@ -1,4 +1,11 @@
{ lib, buildPythonApplication, nix-update-script, python3Packages, fetchFromGitHub }:
{ lib
, buildPythonApplication
, nix-update-script
, python3Packages
, fetchFromGitHub
, iproute2
, iptables
}:
buildPythonApplication rec {
pname = "vpn-slice";
@@ -11,7 +18,10 @@ buildPythonApplication rec {
sha256 = "sha256-T6VULLNRLWO4OcAsuTmhty6H4EhinyxQSg0dfv2DUJs=";
};
propagatedBuildInputs = with python3Packages; [ setproctitle dnspython ];
propagatedBuildInputs = with python3Packages; [ setproctitle dnspython ] ++ [
iproute2
iptables
];
doCheck = false;