mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +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.
(cherry picked from commit 8aaa17c52a)
This commit is contained in:
committed by
Daiderd Jordan
parent
a3983d6d05
commit
42e2ed6520
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user