From e4378d4641ebdb7bb058db22a9dfb6304527d62a Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Wed, 13 Nov 2019 15:25:48 +0100 Subject: [PATCH] python.pkgs.tensorflow: add more sanity checks --- .../python-modules/tensorflow/default.nix | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/tensorflow/default.nix b/pkgs/development/python-modules/tensorflow/default.nix index de2a84a60ae0..c65c11fce3e6 100644 --- a/pkgs/development/python-modules/tensorflow/default.nix +++ b/pkgs/development/python-modules/tensorflow/default.nix @@ -384,7 +384,26 @@ in buildPythonPackage { # TODO try to run them anyway # TODO better test (files in tensorflow/tools/ci_build/builds/*test) checkPhase = '' - ${python.interpreter} -c "import tensorflow" + ${python.interpreter} <