From b10a98cee748aa6474451969144c073ab77ea2a7 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 23 Oct 2017 13:49:03 +0200 Subject: [PATCH] python.pkgs.nbformat: enable tests --- pkgs/development/python-modules/nbformat/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/nbformat/default.nix b/pkgs/development/python-modules/nbformat/default.nix index 6f637bae891b..71a140e53255 100644 --- a/pkgs/development/python-modules/nbformat/default.nix +++ b/pkgs/development/python-modules/nbformat/default.nix @@ -19,18 +19,21 @@ buildPythonPackage rec { inherit pname version; sha256 = "f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402"; }; - LC_ALL="en_US.UTF-8"; + + LC_ALL="en_US.utf8"; checkInputs = [ pytest glibcLocales ]; propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ]; - # Failing tests and permission issues - doCheck = false; + preCheck = '' + mkdir tmp + export HOME=tmp + ''; meta = { description = "The Jupyter Notebook format"; homepage = http://jupyter.org/; license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ fridh ]; + maintainers = with lib.maintainers; [ fridh globin ]; }; }