pythonPackages.notebook: fix darwin build

The send2trash library, which is now included in the notebook doesn't
succeed during build, even though it works.

(cherry picked from commit 8aaa17c52a)
This commit is contained in:
Josef Kemetmüller
2018-03-19 01:02:14 +01:00
committed by Daiderd Jordan
parent a3983d6d05
commit 42e2ed6520

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 = {