Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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 8aaa17c52a1b07874a0cf4fb03d2ac3ca9e8c2ea)

authored by Josef Kemetmüller and committed by Daiderd Jordan 42e2ed65 a3983d6d

+7 -2
+7 -2
pkgs/development/python-modules/notebook/default.nix
··· 1 - { lib 2 , buildPythonPackage 3 , fetchPypi 4 , nose ··· 48 checkPhase = '' 49 runHook preCheck 50 mkdir tmp 51 - HOME=tmp nosetests -v 52 ''; 53 54 meta = {
··· 1 + { stdenv 2 + , lib 3 , buildPythonPackage 4 , fetchPypi 5 , nose ··· 49 checkPhase = '' 50 runHook preCheck 51 mkdir tmp 52 + HOME=tmp nosetests -v ${if (stdenv.isDarwin) then '' 53 + --exclude test_delete \ 54 + --exclude test_checkpoints_follow_file 55 + '' 56 + else ""} 57 ''; 58 59 meta = {