Merge pull request #37354 from knedlsepp/fix-pythonPackages.notebook-on-darwin

pythonPackages.notebook: fix darwin build
This commit is contained in:
Daiderd Jordan 2018-03-20 00:04:58 +01:00 committed by GitHub
commit 3539ca2179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

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