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

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