summary refs log tree commit diff
path: root/pkgs/tools/networking/unbound
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-08-01 10:19:48 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-08-01 10:19:48 +0200
commitea6bd8fa79f578706667439126adebcfeda93af6 (patch)
tree2f5b6b2cb3ecd851030f8fd5c7ec7a98de7e9c17 /pkgs/tools/networking/unbound
parent8f9326ffd8a75b0b807d62723f895e38b2e663bd (diff)
downloadnixpkgs-ea6bd8fa79f578706667439126adebcfeda93af6.tar
nixpkgs-ea6bd8fa79f578706667439126adebcfeda93af6.tar.gz
nixpkgs-ea6bd8fa79f578706667439126adebcfeda93af6.tar.bz2
nixpkgs-ea6bd8fa79f578706667439126adebcfeda93af6.tar.lz
nixpkgs-ea6bd8fa79f578706667439126adebcfeda93af6.tar.xz
nixpkgs-ea6bd8fa79f578706667439126adebcfeda93af6.tar.zst
nixpkgs-ea6bd8fa79f578706667439126adebcfeda93af6.zip
py-unbound: fix evaluation
Diffstat (limited to 'pkgs/tools/networking/unbound')
-rw-r--r--pkgs/tools/networking/unbound/python.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/networking/unbound/python.nix b/pkgs/tools/networking/unbound/python.nix
index b2f43740a67..5d7096ab168 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";