From 6dcad3704a4541018bf0c346983e53b22e496f61 Mon Sep 17 00:00:00 2001 From: mkorje Date: Thu, 3 Apr 2025 16:04:46 +1100 Subject: [PATCH] vpn-slice: fix eval Fixes the error "do not use python3Packages when building Python packages, specify each used package as a separate argument" after #394838. --- pkgs/tools/networking/vpn-slice/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/vpn-slice/default.nix b/pkgs/tools/networking/vpn-slice/default.nix index 2d0c25c578fc..884667c39172 100644 --- a/pkgs/tools/networking/vpn-slice/default.nix +++ b/pkgs/tools/networking/vpn-slice/default.nix @@ -3,10 +3,12 @@ stdenv, buildPythonApplication, nix-update-script, - python3Packages, fetchFromGitHub, + dnspython, iproute2, iptables, + setproctitle, + setuptools, unixtools, }: @@ -33,11 +35,11 @@ buildPythonApplication rec { --replace-fail "'/sbin/iptables'" "'${iptables}/bin/iptables'" ''; - build-system = with python3Packages; [ + build-system = [ setuptools ]; - dependencies = with python3Packages; [ + dependencies = [ setuptools # can be removed with next package update, upstream no longer has a dependency on distutils setproctitle dnspython