From 120d1757fe35b6e518cb02242aefef643bca9ad3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 28 Mar 2011 15:30:48 +0000 Subject: * buildPythonPackage: added an argument `pythonPath' to specify Python dependencies that are *not* propagated to the user environment (as opposed to `propagatedBuildInputs'). For instance, if you install `iotop', you typically don't want its Python dependencies polluting the user environment. * buildPythonPackage: some cleanup (e.g. use function argument defaults instead of `if attrs ? foo then attrs.foo else []'). svn path=/nixpkgs/branches/modular-python/; revision=26571 --- pkgs/os-specific/linux/iotop/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/os-specific/linux/iotop/default.nix') diff --git a/pkgs/os-specific/linux/iotop/default.nix b/pkgs/os-specific/linux/iotop/default.nix index 41d07dd4146..e394b612388 100644 --- a/pkgs/os-specific/linux/iotop/default.nix +++ b/pkgs/os-specific/linux/iotop/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { sha256 = "1dfvw3khr2rvqllvs9wad9ca3ld4i7szqf0ibq87rn36ickrf3ll"; }; - propagatedBuildInputs = [ pythonPackages.curses ]; + pythonPath = [ pythonPackages.curses ]; doCheck = false; -- cgit 1.4.1