From 9506b67f98b33e081cb3e0eec3eec48ee2fac19b Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Thu, 18 Apr 2019 21:26:09 -0400 Subject: [PATCH] python3.pkgs.xarray: add isPy3k --- pkgs/development/python-modules/xarray/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/xarray/default.nix b/pkgs/development/python-modules/xarray/default.nix index b419e7f5cc7..d547d4a15d1 100644 --- a/pkgs/development/python-modules/xarray/default.nix +++ b/pkgs/development/python-modules/xarray/default.nix @@ -5,6 +5,7 @@ , numpy , pandas , python +, isPy3k }: buildPythonPackage rec { @@ -20,7 +21,7 @@ buildPythonPackage rec { propagatedBuildInputs = [numpy pandas]; checkPhase = '' - py.test $out/${python.sitePackages} + pytest $out/${python.sitePackages} ''; # There always seem to be broken tests...