From 92571e8a55584af739c8a2458b82efc27b30a7d3 Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Sat, 17 Aug 2019 22:29:21 +0200 Subject: [PATCH] nbstripout: moving buildInputs to checkInputs Fixes https://hydra.nixos.org/build/98602011 --- pkgs/applications/version-management/nbstripout/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/nbstripout/default.nix b/pkgs/applications/version-management/nbstripout/default.nix index 18fb672226f2..1a6eda6a04e9 100644 --- a/pkgs/applications/version-management/nbstripout/default.nix +++ b/pkgs/applications/version-management/nbstripout/default.nix @@ -9,7 +9,8 @@ buildPythonApplication rec { # Mercurial should be added as a build input but because it's a Python # application, it would mess up the Python environment. Thus, don't add it # here, instead add it to PATH when running unit tests - buildInputs = [ pytest pytest-flake8 pytest-cram git pytestrunner ]; + checkInputs = [ pytest pytest-flake8 pytest-cram git ]; + nativeBuildInputs = [ pytestrunner ]; propagatedBuildInputs = [ ipython nbformat ]; # PyPI source is currently missing tests. Thus, use GitHub instead.