pythonPackages.notebook: fix darwin build

The send2trash library, which is now included in the notebook doesn't
succeed during build, even though it works.
This commit is contained in:
Josef Kemetmüller 2018-03-19 01:02:14 +01:00
parent b3c6cb6d29
commit 8aaa17c52a

View File

@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, nose
@ -48,7 +49,11 @@ buildPythonPackage rec {
checkPhase = ''
runHook preCheck
mkdir tmp
HOME=tmp nosetests -v
HOME=tmp nosetests -v ${if (stdenv.isDarwin) then ''
--exclude test_delete \
--exclude test_checkpoints_follow_file
''
else ""}
'';
meta = {