From 5533eaa2d4c9855b132062973e494188e0090451 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 17 Oct 2019 09:30:20 +0200 Subject: [PATCH] pythonPackages.lazy-object-proxy: fixup build --- .../development/python-modules/lazy-object-proxy/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/lazy-object-proxy/default.nix b/pkgs/development/python-modules/lazy-object-proxy/default.nix index 132e90eb775a..e0381642715a 100644 --- a/pkgs/development/python-modules/lazy-object-proxy/default.nix +++ b/pkgs/development/python-modules/lazy-object-proxy/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , pytest +, setuptools_scm }: buildPythonPackage rec { @@ -13,7 +14,9 @@ buildPythonPackage rec { sha256 = "fd135b8d35dfdcdb984828c84d695937e58cc5f49e1c854eb311c4d6aa03f4f1"; }; - buildInputs = [ pytest ]; + nativeBuildInputs = [ setuptools_scm ]; + + checkInputs = [ pytest ]; checkPhase = '' py.test tests '';