mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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:
parent
b3c6cb6d29
commit
8aaa17c52a
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user