mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03: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.
This commit is contained in:
parent
b3c6cb6d29
commit
8aaa17c52a
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user