From 83dcf661860cc7731d4a78c3633c17d56ed71999 Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Mon, 4 Mar 2019 14:52:33 +0100 Subject: [PATCH] trash-cli: fix build (#56818) More fallout from enabling strictDeps in #55757. `buildInputs` are not accessible from the check phase. --- pkgs/tools/misc/trash-cli/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/trash-cli/default.nix b/pkgs/tools/misc/trash-cli/default.nix index 7ae871afc783..1f5a6c4ea4c2 100644 --- a/pkgs/tools/misc/trash-cli/default.nix +++ b/pkgs/tools/misc/trash-cli/default.nix @@ -28,8 +28,10 @@ python3Packages.buildPythonApplication rec { }) ]; - buildInputs = with python3Packages; [ nose mock ]; - + checkInputs = with python3Packages; [ + nose + mock + ]; checkPhase = "nosetests"; meta = with stdenv.lib; {