diff --git a/pkgs/tools/networking/unbound/python.nix b/pkgs/tools/networking/unbound/python.nix index b2f43740a677..5d7096ab168f 100644 --- a/pkgs/tools/networking/unbound/python.nix +++ b/pkgs/tools/networking/unbound/python.nix @@ -1,6 +1,8 @@ -{ stdenv, fetchurl, openssl, expat, libevent, swig, python, pythonPackages }: +{ stdenv, fetchurl, openssl, expat, libevent, swig, pythonPackages }: -stdenv.mkDerivation rec { +let + inherit (pythonPackages) python; +in stdenv.mkDerivation rec { pname = "pyunbound"; name = "${pname}-${version}"; version = "1.5.9";