From c020a59ccd5ee57706e7461ababebd3366102b2b Mon Sep 17 00:00:00 2001 From: Maximilian Bode Date: Sun, 9 Sep 2018 12:13:36 +0200 Subject: [PATCH] pythonPackages.tifffile: fix python 2 build (#46415) --- pkgs/development/python-modules/tifffile/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tifffile/default.nix b/pkgs/development/python-modules/tifffile/default.nix index 159051b9a6a8..3910ddf07256 100644 --- a/pkgs/development/python-modules/tifffile/default.nix +++ b/pkgs/development/python-modules/tifffile/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchPypi, buildPythonPackage, isPy27, pythonOlder -, numpy, nose, enum34, futures }: +, numpy, nose, enum34, futures, pathlib }: buildPythonPackage rec { pname = "tifffile"; @@ -16,7 +16,7 @@ buildPythonPackage rec { ''; propagatedBuildInputs = [ numpy ] - ++ lib.optional isPy27 futures + ++ lib.optional isPy27 [ futures pathlib ] ++ lib.optional (pythonOlder "3.0") enum34; meta = with stdenv.lib; {