py-unbound: fix evaluation

+4 -2
+4 -2
pkgs/tools/networking/unbound/python.nix
··· 1 - { stdenv, fetchurl, openssl, expat, libevent, swig, python, pythonPackages }: 2 3 - stdenv.mkDerivation rec { 4 pname = "pyunbound"; 5 name = "${pname}-${version}"; 6 version = "1.5.9";
··· 1 + { stdenv, fetchurl, openssl, expat, libevent, swig, pythonPackages }: 2 3 + let 4 + inherit (pythonPackages) python; 5 + in stdenv.mkDerivation rec { 6 pname = "pyunbound"; 7 name = "${pname}-${version}"; 8 version = "1.5.9";